Implement the Microsoft __is_convertible_to type trait, modeling the
commit883fad6ee6abca7ed0cf6d0f0a78631152beaebe
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 27 Jan 2011 20:28:01 +0000 (27 20:28 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Thu, 27 Jan 2011 20:28:01 +0000 (27 20:28 +0000)
tree0a7e343e34257ac2fd57ac49b78027cc387e5c61
parent53d5a1fc4cb30c3269fa80053b33f2d5a246cadd
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
include/clang/Basic/TokenKinds.def
include/clang/Basic/TypeTraits.h
lib/AST/StmtPrinter.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseTentative.cpp
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/type-traits.cpp