diff options
Diffstat (limited to 'clang/lib/Parse/ParseExprCXX.cpp')
-rw-r--r-- | clang/lib/Parse/ParseExprCXX.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseExprCXX.cpp b/clang/lib/Parse/ParseExprCXX.cpp index 08606d03e7c..ed9f75d7b4d 100644 --- a/clang/lib/Parse/ParseExprCXX.cpp +++ b/clang/lib/Parse/ParseExprCXX.cpp @@ -1096,8 +1096,7 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer( // MSVC-style attributes must be parsed before the mutable specifier to be // compatible with MSVC. - while (Tok.is(tok::kw___declspec)) - ParseMicrosoftDeclSpec(Attr); + MaybeParseMicrosoftDeclSpecs(Attr, &DeclEndLoc); // Parse 'mutable'[opt]. SourceLocation MutableLoc; |