summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/DeclSpec.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-12-21 22:24:43 +0000
committerChad Rosier <mcrosier@apple.com>2012-12-21 22:24:43 +0000
commit92f0dccbada26d0b937ff7ce5965e8286fd6a0f4 (patch)
tree366a9cbb9920c1ce3b027cf5c43d86db72e0951a /clang/lib/Sema/DeclSpec.cpp
parente2231ac7831c424a1bd25f580e76944c95693e83 (diff)
downloadbcm5719-llvm-92f0dccbada26d0b937ff7ce5965e8286fd6a0f4.tar.gz
bcm5719-llvm-92f0dccbada26d0b937ff7ce5965e8286fd6a0f4.zip
Remove unused arguments and rename to conform to coding standards.
llvm-svn: 170933
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
-rw-r--r--clang/lib/Sema/DeclSpec.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp
index b34b953a036..112fabdd99f 100644
--- a/clang/lib/Sema/DeclSpec.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud