commit | 9f3611365d0f2297a910cf246e056708726ed10a | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Jan 27 20:28:01 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Jan 27 20:28:01 2011 +0000 |
tree | 0a7e343e34257ac2fd57ac49b78027cc387e5c61 | |
parent | 63e7d25d2e6036616b42f744fd4a39cd5f911960 [diff] |
Implement the Microsoft __is_convertible_to type trait, modeling the semantics after the C++0x is_convertible type trait. This implementation is not 100% complete, because it allows access errors to be hard errors (rather than just evaluating false). Original patch by Steven Watanabe! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124425 91177308-0d34-0410-b5e6-96231b3b80d8