diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-09 00:36:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-09 00:36:22 +0000 |
commit | 9bcd9156b9fe83ddf626d6afbc499c05d02831b6 (patch) | |
tree | a0d2b2ac33c8f5b71686642b717b124390c43a4e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 9d09c5ccdac32927c4b6f93ad8c9f4d71f61c17b (diff) | |
download | bcm5719-llvm-9bcd9156b9fe83ddf626d6afbc499c05d02831b6.tar.gz bcm5719-llvm-9bcd9156b9fe83ddf626d6afbc499c05d02831b6.zip |
Dump out types for expressions, and handle typedefs nicely.
This allows us to dump:
typedef short S;
int test(S X, long long Y) {
return X < ((100));
}
as:
typedef short S;
int test(S X, long long Y)
(CompoundStmt 0x2905d40
(ReturnStmt 0x2905d30
(BinaryOperator 0x2905d10 'int' '<'
(ImplicitCastExpr 0x2905d00 'int'
(DeclRefExpr 0x2905c80 'S':'short' Decl='X' 0x2905c20))
(ParenExpr 0x2905ce0 'int'
(ParenExpr 0x2905cc0 'int'
(IntegerLiteral 0x2905ca0 'int' 100))))))
llvm-svn: 40956
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions