aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/DeclSpec.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-12-21 22:38:37 +0000
committerChad Rosier <mcrosier@apple.com>2012-12-21 22:38:37 +0000
commit67a0f6ef5ae38e1abddb278544e18aede6ea7833 (patch)
tree2295e453a6c8cec3cfb64f1b84c047f2399c97cd /lib/Sema/DeclSpec.cpp
parenta193e3b1e675f2d149802dc7e6f061bf3eb1ab27 (diff)
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
Diffstat (limited to 'lib/Sema/DeclSpec.cpp')
-rw-r--r--lib/Sema/DeclSpec.cpp2
1 files changed, 2 insertions, 0 deletions
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;