diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-02-25 17:26:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-02-25 17:26:26 +0000 |
commit | 48f52e926d6e8273587f5befc997fc784b04855b (patch) | |
tree | 7bb39b8f7dfcf67771391b649b7f19e27101d503 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | a3283443675143ad384cdab710b1c04945f9f368 (diff) | |
download | bcm5719-llvm-48f52e926d6e8273587f5befc997fc784b04855b.tar.gz bcm5719-llvm-48f52e926d6e8273587f5befc997fc784b04855b.zip |
Pretty Printer: Fix printing of conversion operator decls and calls.
- Don't emit anything when we encounter a call to a conversion operator.
"bar(a & b)" instead of "bar(a & b.operator int())"
This preserves the semantics and is still idempotent if we print the AST multiple times.
- Properly print declarations of conversion operators.
"explicit operator bool();" instead of "bool operator _Bool();"
PR18776.
llvm-svn: 202167
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions