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 | 8388f814fbb17a5b258f0d30b0c12e4c8d109480 (patch) | |
| tree | 91ca6710fc454de45470dab9f49ffa39f6763944 /lib/Basic/FileSystemStatCache.cpp | |
| parent | e44e9e0a0039fb869c17a49208a3ec0c4f4a9d90 (diff) | |
| download | clang-8388f814fbb17a5b258f0d30b0c12e4c8d109480.tar.gz clang-8388f814fbb17a5b258f0d30b0c12e4c8d109480.tar.bz2 clang-8388f814fbb17a5b258f0d30b0c12e4c8d109480.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions
