From 93b97a8737e867d3ea193ca46db0615f9ff73592 Mon Sep 17 00:00:00 2001 From: James Dennett Date: Tue, 5 Nov 2013 19:37:38 +0000 Subject: [PATCH] Documentation tweaks: Fix a typo in a reference to the C++ standard, another typo in a comment, and update formatting of some comments to use Doxygen \brief annotations instead of repeating the name of the documented entity. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194092 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Decl.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 278ceb50ea..eefc15e399 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -849,18 +849,19 @@ public: getStorageClass() == SC_PrivateExtern; } - /// hasGlobalStorage - Returns true for all variables that do not - /// have local storage. This includs all global variables as well - /// as static variables declared within a function. + /// \brief Returns true for all variables that do not have local storage. + /// + /// This includes all global variables as well as static variables declared + /// within a function. bool hasGlobalStorage() const { return !hasLocalStorage(); } - /// \brief Get the storage duration of this variable, per C++ [basid.stc]. + /// \brief Get the storage duration of this variable, per C++ [basic.stc]. StorageDuration getStorageDuration() const { return hasLocalStorage() ? SD_Automatic : getTSCSpec() ? SD_Thread : SD_Static; } - /// Compute the language linkage. + /// \brief Compute the language linkage. LanguageLinkage getLanguageLinkage() const; /// \brief Determines whether this variable is a variable with -- 2.40.0