]> granicus.if.org Git - clang/commit
Give OpaqueValueExpr a source location, because its source location
authorDouglas Gregor <dgregor@apple.com>
Fri, 28 Jan 2011 02:26:04 +0000 (02:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 28 Jan 2011 02:26:04 +0000 (02:26 +0000)
commitb608b987718c6d841115464f79ab2d1820a63e17
tree2c72e1dddc574cb24d3d9a3e9dde350ea5637be7
parent70a21de5b4c6ca4883ed58093e71e7884d5218fb
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