diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-05-15 18:08:15 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-05-15 18:08:15 +0000 |
commit | cce70c7c5f0f4c1a41658fbed845f8b3a565c99c (patch) | |
tree | 8cc167091a7680d8a28ebae3ca62b570821d76e3 /lib/Sema/SemaTemplateInstantiateDecl.cpp | |
parent | 14040142a3b3c1029092bc1f7c51e347c3fa8f89 (diff) | |
download | clang-cce70c7c5f0f4c1a41658fbed845f8b3a565c99c.tar.gz clang-cce70c7c5f0f4c1a41658fbed845f8b3a565c99c.tar.bz2 clang-cce70c7c5f0f4c1a41658fbed845f8b3a565c99c.tar.xz |
[analyzer] Put back DefaultBool's implicit conversion to bool.
DefaultBool is basically just "bool with a default constructor", so it
really should implicitly convert to bool. In fact, it should convert to
bool&, so that it could be passed to functions that take bools by reference.
This time, mark the operator bool& as implicit to promise that it's
deliberate.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions