[all-commits] [llvm/llvm-project] e61dee: [Clang] Add 'instantiated_from' for enums in TextN...
André Brand via All-commits
all-commits at lists.llvm.org
Tue Feb 18 08:07:26 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e61deef8fe0e94be7a309dc53436f70dc69491cf
https://github.com/llvm/llvm-project/commit/e61deef8fe0e94be7a309dc53436f70dc69491cf
Author: André Brand <andre.brand at mailbox.org>
Date: 2025-02-18 (Tue, 18 Feb 2025)
Changed paths:
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-decl.cpp
Log Message:
-----------
[Clang] Add 'instantiated_from' for enums in TextNodeDumper (#124409)
This commit adds "instantiated_from" to the AST dump for EnumDecl,
improving consistency with CXXRecordDecl and FunctionDecl, which also
include this information. To achieve this, TextNodeDumper::VisitEnumDecl
is updated with analogous lines found in
TextNodeDumper::VisitFunctionDecl and
TextNodeDumper::VisitCXXRecordDecl.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list