[PATCH] D142637: A slightly more concise AST dump :)
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 26 09:53:47 PST 2023
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/test/AST/ast-dump-attr-type.cpp:12
+// CHECK-NEXT: `-BuiltinType 0x{{[^ ]*}} 'int'
+// CHECK-NOT: `-PointerType 0x564c31a07520 'int *'
----------------
Can you add a second example where the attribute is not mere sugar, showing that both types get printed?
The example from the AttributedType doc is `vector_size`, which would work
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142637/new/
https://reviews.llvm.org/D142637
More information about the cfe-commits
mailing list