From 67a0f6ef5ae38e1abddb278544e18aede6ea7833 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Fri, 21 Dec 2012 22:38:37 +0000 Subject: [PATCH] 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 --- lib/Sema/DeclSpec.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.50.1