Give OpaqueValueExpr a source location, because its source location
commitdbf2a48b64ebdcc1c1f5808a8c9e2025505474e7
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 28 Jan 2011 02:26:04 +0000 (28 02:26 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Fri, 28 Jan 2011 02:26:04 +0000 (28 02:26 +0000)
tree2c72e1dddc574cb24d3d9a3e9dde350ea5637be7
parentb6843e10c4e1b7898099ce8cfb125d7498cd2cc9
Give OpaqueValueExpr a source location, because its source location
might be queried in places where we absolutely require a valid
location (e.g., for template instantiation). Fixes some major
brokenness in the use of __is_convertible_to.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124465 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Sema/Sema.h
lib/AST/Expr.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaObjCProperty.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/SemaCXX/type-traits.cpp