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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits