]> granicus.if.org Git - clang/commitdiff
Add comments back that were accidentally removed in r170933.
authorChad Rosier <mcrosier@apple.com>
Fri, 21 Dec 2012 22:38:37 +0000 (22:38 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 21 Dec 2012 22:38:37 +0000 (22:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170938 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/DeclSpec.cpp

index 112fabdd99f54903da8f319e182abecd164cdc23..70d01203fcde0c7f7061a60e0f4bdb5877c8fc2e 100644 (file)
@@ -714,12 +714,14 @@ bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec,
 }
 
 bool DeclSpec::setFunctionSpecInline(SourceLocation Loc) {
+  // 'inline inline' is ok.
   FS_inline_specified = true;
   FS_inlineLoc = Loc;
   return false;
 }
 
 bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc) {
+  // 'virtual virtual' is ok.
   FS_virtual_specified = true;
   FS_virtualLoc = Loc;
   return false;