From: Chad Rosier Date: Fri, 21 Dec 2012 22:38:37 +0000 (+0000) Subject: Add comments back that were accidentally removed in r170933. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67a0f6ef5ae38e1abddb278544e18aede6ea7833;p=clang Add comments back that were accidentally removed in r170933. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170938 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/DeclSpec.cpp b/lib/Sema/DeclSpec.cpp index 112fabdd99..70d01203fc 100644 --- a/lib/Sema/DeclSpec.cpp +++ b/lib/Sema/DeclSpec.cpp @@ -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;