diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-12-21 22:24:43 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-12-21 22:24:43 +0000 |
commit | 22aa6901b8134c51771245255b32cd7d026e7913 (patch) | |
tree | 2000a3d2b766200b0a342a37c8f8c584bc4009a0 /lib/Sema/DeclSpec.cpp | |
parent | f530ff76de3b270f2287d3555d93b5d270643eeb (diff) |
Remove unused arguments and rename to conform to coding standards.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/DeclSpec.cpp')
-rw-r--r-- | lib/Sema/DeclSpec.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/Sema/DeclSpec.cpp b/lib/Sema/DeclSpec.cpp index b34b953a03..112fabdd99 100644 --- a/lib/Sema/DeclSpec.cpp +++ b/lib/Sema/DeclSpec.cpp @@ -713,24 +713,19 @@ bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, return false; } -bool DeclSpec::SetFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, - unsigned &DiagID) { - // 'inline inline' is ok. +bool DeclSpec::setFunctionSpecInline(SourceLocation Loc) { FS_inline_specified = true; FS_inlineLoc = Loc; return false; } -bool DeclSpec::SetFunctionSpecVirtual(SourceLocation Loc, const char *&PrevSpec, - unsigned &DiagID) { - // 'virtual virtual' is ok. +bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc) { FS_virtual_specified = true; FS_virtualLoc = Loc; return false; } -bool DeclSpec::SetFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec, - unsigned &DiagID) { +bool DeclSpec::setFunctionSpecExplicit(SourceLocation Loc) { // 'explicit explicit' is ok. FS_explicit_specified = true; FS_explicitLoc = Loc; |