Skip to content

Commit 782923b

Browse files
committed
use explicit type
1 parent a495ee9 commit 782923b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/Parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ Parser::DeclGroupPtrTy Parser::ParseDeclOrFunctionDefInternal(
11101110
if (ED->getIdentifier()) {
11111111
CorrectLocationForAttributes = ED->getLocation();
11121112
} else {
1113-
const auto Begin = ED->getBraceRange().getBegin();
1113+
SourceLocation Begin = ED->getBraceRange().getBegin();
11141114
CorrectLocationForAttributes =
11151115
Begin.isValid() ? Begin :
11161116
// If there is no brace, fall back to the end

0 commit comments

Comments
 (0)