[clang] [llvm] Trying to fix undefined symbol error caused by iterator variable (PR #141507)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 01:15:49 PDT 2025
ShashwathiNavada wrote:
> 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.
@efriedma-quic Thank you for the suggestion,.I have added the call. Could you please take a look and let me know if it looks good?
https://github.com/llvm/llvm-project/pull/141507
More information about the llvm-commits
mailing list