]> granicus.if.org Git - clang/commit
Emit error when using a bound member function for something other than calling it.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 1 Nov 2010 18:49:26 +0000 (18:49 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 1 Nov 2010 18:49:26 +0000 (18:49 +0000)
commit11ab79030938209f50691acae0ddb65e72a58ca9
tree3d3d5b91699328ba5b49f8fab04fa4fcbf91693f
parent82aa713bcda99f388836c2a30bb868d9c9974817
Emit error when using a bound member function for something other than calling it.

Also avoids IRGen crashes due to accepting invalid code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117943 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaStmt.cpp
test/SemaCXX/ptrtomember.cpp