================
@@ -4115,8 +4115,10 @@ void FunctionProtoType::Profile(llvm::FoldingSetNodeID
&ID, QualType Result,
void FunctionProtoType::Profile(llvm::FoldingSetNodeID &ID,
const ASTContext &Ctx) {
+ // getFunctionTypeInternal keys every node canonically and compares noexcept
+ // expressions after the lookup, so report that same key.
Profile(ID, getReturnType(), param_type_begin(), getNumParams(),
- getExtProtoInfo(), Ctx, isCanonicalUnqualified());
+ getExtProtoInfo(), Ctx, /*Canonical=*/true);
}
----------------
cor3ntin wrote:
@mizvekov Opinion?
https://github.com/llvm/llvm-project/pull/220168
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits