================
@@ -368,6 +368,14 @@ static FunctionProtoTypeLoc getPrototypeLoc(Expr *Fn) {
}
if (auto F = Target.getAs<FunctionProtoTypeLoc>()) {
+ // In some edge cases the AST can contain a "trivial" FunctionProtoTypeLoc
----------------
HighCommander4 wrote:
Thanks for the reminder about this. Now that we've upstreamed
`HeuristicResolver`, it's a good place for a unified implementation of this
sort of thing. I'll do that in
https://github.com/llvm/llvm-project/issues/143240.
https://github.com/llvm/llvm-project/pull/143087
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits