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/Parse/ParseDecl.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/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index e7d5ae28bf..ab4b4f2c0d 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -2528,7 +2528,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS, // Microsoft single token adornments. case tok::kw___forceinline: { - isInvalid = DS.SetFunctionSpecInline(Loc, PrevSpec, DiagID); + isInvalid = DS.setFunctionSpecInline(Loc); IdentifierInfo *AttrName = Tok.getIdentifierInfo(); SourceLocation AttrNameLoc = Tok.getLocation(); // FIXME: This does not work correctly if it is set to be a declspec @@ -2609,13 +2609,13 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS, // function-specifier case tok::kw_inline: - isInvalid = DS.SetFunctionSpecInline(Loc, PrevSpec, DiagID); + isInvalid = DS.setFunctionSpecInline(Loc); break; case tok::kw_virtual: - isInvalid = DS.SetFunctionSpecVirtual(Loc, PrevSpec, DiagID); + isInvalid = DS.setFunctionSpecVirtual(Loc); break; case tok::kw_explicit: - isInvalid = DS.SetFunctionSpecExplicit(Loc, PrevSpec, DiagID); + isInvalid = DS.setFunctionSpecExplicit(Loc); break; // alignment-specifier |