[clang] [clang] Add 'instantiated_from' for enums to the output of TextNodeDumper (PR #124409)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 29 18:50:19 PST 2025


https://github.com/shafik commented:

Definitely makes sense. Definitely we need a test, I think the right test to add an example to is `ast-dump-decl.cpp`.

Could you also put a few more details in the summary, basically explain you are modifying `TextNodeDumper::VisitEnumDecl` to be more consistent ...

It would be better to spell out `TextNodeDumper::VisitFunctionDecl` and `TextNodeDumper::VisitCXXRecordDecl` as well.

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


More information about the cfe-commits mailing list