[clang] [llvm] Trying to fix undefined symbol error caused by iterator variable (PR #141507)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 09:53:41 PDT 2025


https://github.com/efriedma-quic commented:

That's maybe better?

I spent a little time looking at the testcase, and I saw something weird in the AST: there's a VarDecl at the top level, but it never gets sent down the normal path for top-level decls. I suspect there's a missing call to HandleTopLevelDecl somewhere.  That would be the best way to handle this, if possible.

https://github.com/llvm/llvm-project/pull/141507


More information about the llvm-commits mailing list