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.
2 parents 5f1af3e + 2edd4a2 commit ea4f151Copy full SHA for ea4f151
clang/lib/Parse/ParseDecl.cpp
@@ -676,7 +676,7 @@ void Parser::ParseGNUAttributeArgs(
676
std::optional<ParseScope> PrototypeScope;
677
if (normalizeAttrName(AttrName->getName()) == "enable_if" &&
678
D && D->isFunctionDeclarator()) {
679
- DeclaratorChunk::FunctionTypeInfo FTI = D->getFunctionTypeInfo();
+ const DeclaratorChunk::FunctionTypeInfo& FTI = D->getFunctionTypeInfo();
680
PrototypeScope.emplace(this, Scope::FunctionPrototypeScope |
681
Scope::FunctionDeclarationScope |
682
Scope::DeclScope);
0 commit comments