]> granicus.if.org Git - clang/commit
Make yet another placeholder type, this one marking that an expression is a bound
authorJohn McCall <rjmccall@apple.com>
Tue, 26 Apr 2011 20:42:42 +0000 (20:42 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 26 Apr 2011 20:42:42 +0000 (20:42 +0000)
commit864c041e118155c2b1ce0ba36942a3da5a4a055e
tree19f877df6230e8eb683deb156e16b51f25dabcf2
parenteab80782f645489db299db24aa7a5886b37185b0
Make yet another placeholder type, this one marking that an expression is a bound
member function, i.e. something of the form 'x.f' where 'f' is a non-static
member function.  Diagnose this in the general case.  Some of the new diagnostics
are probably worse than the old ones, but we now get this right much more
universally, and there's certainly room for improvement in the diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130239 91177308-0d34-0410-b5e6-96231b3b80d8
30 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/Expr.h
include/clang/AST/Type.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTContext.cpp
lib/AST/ASTImporter.cpp
lib/AST/Expr.cpp
lib/AST/ExprCXX.cpp
lib/AST/ItaniumMangle.cpp
lib/AST/MicrosoftMangle.cpp
lib/AST/Type.cpp
lib/AST/TypeLoc.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGRTTI.cpp
lib/CodeGen/CodeGenTypes.cpp
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
lib/Serialization/ASTCommon.cpp
lib/Serialization/ASTReader.cpp
test/CXX/over/over.over/p2-resolve-single-template-id.cpp
test/SemaCXX/addr-of-overloaded-function.cpp
test/SemaCXX/expression-traits.cpp
test/SemaCXX/overloaded-operator.cpp
test/SemaCXX/ptrtomember.cpp
tools/libclang/CIndex.cpp
tools/libclang/CIndexUSRs.cpp