]> granicus.if.org Git - clang/commit
After some discussion with Doug, we decided that it made a lot more sense
authorJohn McCall <rjmccall@apple.com>
Tue, 12 Apr 2011 00:42:48 +0000 (00:42 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 12 Apr 2011 00:42:48 +0000 (00:42 +0000)
commit755d8497e39071aa24acc173ff07083e3256b8f8
tree47914f058b5de1a56c791ed102573f17d36f1d5a
parent235c02f79e0ece9463490aa87eaaa02bad300dac
After some discussion with Doug, we decided that it made a lot more sense
for __unknown_anytype resolution to destructively modify the AST.  So that's
what it does now, which significantly simplifies some of the implementation.
Normal member calls work pretty cleanly now, and I added support for
propagating unknown-ness through &.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129331 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/clang/AST/Expr.h
include/clang/AST/OperationKinds.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/AST/ExprClassification.cpp
lib/AST/ExprConstant.cpp
lib/CodeGen/CGCXXABI.cpp
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/Sema/SemaExpr.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
test/CodeGenCXX/unknown-anytype.cpp
test/SemaCXX/unknown-anytype.cpp