nickdesaulniers added a comment. `CXXRecordDecl` is a funny case, the AST looks like:
|-CXXRecordDecl 0x5c661a8 <clang/baz.cpp:1:1, col:12> col:7 class foo definition | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_ | `-CXXRecordDecl 0x5c662d0 <col:1, col:7> col:7 implicit class foo ... There's probably a bunch more C++ cases I'm not thinking of. Reading through gcc's test suite for `-fno-eliminate-unused-debug-types`, this feature doesn't have tests for anything with templates. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80242/new/ https://reviews.llvm.org/D80242 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits