summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r--clang/lib/Parse/ParseDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp
index e0347ccf2fb..20a9cb09329 100644
--- a/clang/lib/Parse/ParseDecl.cpp
+++ b/clang/lib/Parse/ParseDecl.cpp
@@ -2978,7 +2978,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
// attribute declaration and continue.
if (NextToken().is(tok::l_paren)) {
// Consume the __declspec identifier.
- SourceLocation Loc = ConsumeToken();
+ ConsumeToken();
// Eat the parens and everything between them.
BalancedDelimiterTracker T(*this, tok::l_paren);
OpenPOWER on IntegriCloud