aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-03-07 02:43:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-03-07 02:43:24 +0000
commitcf048a80ed610262fd634d421ea65ff936901b36 (patch)
treef9247215d96b47bc2446f50aa7002395b203a855
parent531db82c6ecfb4772c6870731c06ad8718f1e0ce (diff)
Don't duplicate function names. Thanks to Jordan Rose for pointing it out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176609 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Decl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h
index d969acd807..9e7f30d511 100644
--- a/include/clang/AST/Decl.h
+++ b/include/clang/AST/Decl.h
@@ -798,15 +798,15 @@ public:
return getStorageClass() == SC_Static && !isFileVarDecl();
}
- /// hasExternalStorage - Returns true if a variable has extern or
- /// __private_extern__ storage.
+ /// \brief Returns true if a variable has extern or __private_extern__
+ /// storage.
bool hasExternalStorage() const {
return getStorageClass() == SC_Extern ||
getStorageClass() == SC_PrivateExtern;
}
- /// hasExternalStorageAsWritten - Returns true if a variable was written
- /// with extern or __private_extern__ storage.
+ /// \brief Returns true if a variable was written with extern or
+ /// __private_extern__ storage.
bool hasExternalStorageAsWritten() const {
return getStorageClassAsWritten() == SC_Extern ||
getStorageClassAsWritten() == SC_PrivateExtern;