]> granicus.if.org Git - clang/commitdiff
Finish a comment + remove trailing whitespace. NFC
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 14 Feb 2017 19:34:33 +0000 (19:34 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 14 Feb 2017 19:34:33 +0000 (19:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295094 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclBase.h

index 5de1d0588e80eef3c1b13a90bb6dd475a381c893..e4894539bb20c76a776a8f31e663b22a2be7ffc5 100644 (file)
@@ -654,20 +654,19 @@ public:
   /// a precompiled header or module) rather than having been parsed.
   bool isFromASTFile() const { return FromASTFile; }
 
-  /// \brief Retrieve the global declaration ID associated with this 
-  /// declaration, which specifies where in the 
-  unsigned getGlobalID() const { 
+  /// \brief Retrieve the global declaration ID associated with this
+  /// declaration, which specifies where this Decl was loaded from.
+  unsigned getGlobalID() const {
     if (isFromASTFile())
       return *((const unsigned*)this - 1);
     return 0;
   }
-  
+
   /// \brief Retrieve the global ID of the module that owns this particular
   /// declaration.
   unsigned getOwningModuleID() const {
     if (isFromASTFile())
       return *((const unsigned*)this - 2);
-    
     return 0;
   }