[cfe-commits] [PATCH] Utilize the indents in -ast-dump to draw structural information

Richard Trieu rtrieu at google.com
Fri Jan 25 19:23:42 PST 2013


  This merges the color printing with indenting to show the final product.  This revision has no parens, and no extra leading space.

  Regular blue is the color used for the tree information which contrasts to the bolded colors used for Stmts, Decls, Attrs, and Comments.  The bold nodes will stand out better while the light coloring of the tree hints at the structure without visually interfering.

http://llvm-reviews.chandlerc.com/D281

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D281?vs=761&id=771#toc

Files:
  lib/AST/ASTDumper.cpp
  test/Misc/ast-dump-wchar.cpp
  test/Misc/ast-dump-color.cpp
  test/Misc/ast-dump-comment.cpp
  test/Misc/ast-dump-decl.c
  test/Misc/ast-dump-attr.cpp
  test/Misc/ast-dump-stmt.c
  test/CodeGen/bitfield-2.c
  test/Tooling/clang-check-ast-dump.cpp
  test/Sema/implicit-cast-dump.c
  utils/TableGen/ClangAttrEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D281.5.patch
Type: text/x-patch
Size: 50767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130125/2c803992/attachment.bin>


More information about the cfe-commits mailing list