diff options
Diffstat (limited to 'include/clang/AST/Decl.h')
-rw-r--r-- | include/clang/AST/Decl.h | 8 |
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; |