diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-12-21 22:38:37 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-12-21 22:38:37 +0000 |
| commit | 8a67a65a4b9553450f47013b2ef7789ebbb3a0aa (patch) | |
| tree | 6e4377557bb5dd94f038c80e88f4f79e43273d7b /clang/lib | |
| parent | 9e89195dce869b0953a5dbf763bd02850d12fc1a (diff) | |
| download | bcm5719-llvm-8a67a65a4b9553450f47013b2ef7789ebbb3a0aa.tar.gz bcm5719-llvm-8a67a65a4b9553450f47013b2ef7789ebbb3a0aa.zip | |
Add comments back that were accidentally removed in r170933.
llvm-svn: 170938
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/DeclSpec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index 112fabdd99f..70d01203fcd 100644 --- a/clang/lib/Sema/DeclSpec.cpp +++ b/clang/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; |

