We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a495ee9 commit 782923bCopy full SHA for 782923b
clang/lib/Parse/Parser.cpp
@@ -1110,7 +1110,7 @@ Parser::DeclGroupPtrTy Parser::ParseDeclOrFunctionDefInternal(
1110
if (ED->getIdentifier()) {
1111
CorrectLocationForAttributes = ED->getLocation();
1112
} else {
1113
- const auto Begin = ED->getBraceRange().getBegin();
+ SourceLocation Begin = ED->getBraceRange().getBegin();
1114
CorrectLocationForAttributes =
1115
Begin.isValid() ? Begin :
1116
// If there is no brace, fall back to the end
0 commit comments