[clang] [Clang] Fixed UnresolvedLookupExpr propagating into the codegen phase (PR #124609)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 13 09:13:22 PDT 2025
================
@@ -703,6 +703,48 @@ auto f(auto x) { // cxx14-error {{'auto' not allowed in function prototype}}
return f(1) + 1;
}
+namespace GH122892 {
----------------
zyn0217 wrote:
I don't know, but the original issue doesn't manifest with `-fsyntax-only` https://godbolt.org/z/MdMzjEd5q
So if this patch changed the behavior in that mode (e.g. diagnose out errors earlier) then it probably makes sense to have the test live in SemaCXX, just my thoughts :P
https://github.com/llvm/llvm-project/pull/124609
More information about the cfe-commits
mailing list