Aaron Ballman
a503855906
Track in the AST whether the operand to a UnaryOperator can overflow and then use that logic when evaluating constant expressions and emitting codegen.
...
llvm-svn: 322074
2018-01-09 13:07:03 +00:00
Richard Trieu
de5cc7d3d8
Add indents to AST dumping and removed parenthesis from AST nodes.
...
Indents were given the color blue when outputting with color.
AST dumping now looks like this:
Node
|-Node
| `-Node
`-Node
`-Node
Compared to the previous:
(Node
(Node
(Node))
(Node
(Node)))
llvm-svn: 174022
2013-01-31 01:44:26 +00:00
Alexander Kornienko
90ff607894
Implement AST dumper for Decls.
...
http://llvm-reviews.chandlerc.com/D52
Patch by Philip Craig!
llvm-svn: 170634
2012-12-20 02:09:13 +00:00
Manuel Klimek
874030e684
Create helper functions in StmtDumper for outputting the indentation, newlines, and brackets.
...
This is preparation for adding Decl dumping.
Patch by Philip Craig.
llvm-svn: 167509
2012-11-07 00:33:12 +00:00