]> granicus.if.org Git - clang/commit
Add support for calls to overloaded member functions. Things to note:
authorDouglas Gregor <dgregor@apple.com>
Mon, 22 Dec 2008 05:46:06 +0000 (05:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 22 Dec 2008 05:46:06 +0000 (05:46 +0000)
commit88a3514f36de96b19cdf50141c640df1a5f13f6c
treea15713eacba3dc51acc9af629d852ace77db9ea7
parentb595509bf5c07b65616d9c7ef26dca4858768ac7
Add support for calls to overloaded member functions. Things to note:
  - Overloading has to cope with having both static and non-static
    member functions in the overload set.
  - The call may or may not have an implicit object argument,
    depending on the syntax (x.f() vs. f()) and the context (static
    vs. non-static member function).
  - We now generate MemberExprs for implicit member access expression.
  - We now cope with mutable whenever we're building MemberExprs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61329 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/AST/Expr.h
include/clang/AST/ExprCXX.h
include/clang/AST/StmtNodes.def
include/clang/Basic/DiagnosticKinds.def
lib/AST/Expr.cpp
lib/AST/ExprCXX.cpp
lib/AST/StmtPrinter.cpp
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaOverload.h
test/SemaCXX/overload-member-call.cpp [new file with mode: 0644]