If the user is trying to apply the -> or . member reference operator
authorDouglas Gregor <dgregor@apple.com>
Fri, 27 Mar 2009 06:00:30 +0000 (06:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 27 Mar 2009 06:00:30 +0000 (06:00 +0000)
commit214f31a347d7824eb92e6a3f5dce4d4047fd5ae0
treec95abcc7e7eb72f95dccf08022d4a132c7152f6c
parent73b6a441ea448289cd9861dff2460efd7131dede
If the user is trying to apply the -> or . member reference operator
to a function or function pointer, it's probably because the user
forgot to put in parentheses () to call the function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67826 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaCXX/member-expr.cpp