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 671072e commit 2edd4a2Copy full SHA for 2edd4a2
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