Provide a better diagnostic and a fixit for a '.' or '->' before the left paren
authorKaelyn Uhrain <rikka@google.com>
Fri, 12 Jul 2013 21:43:02 +0000 (21:43 +0000)
committerKaelyn Uhrain <rikka@google.com>
Fri, 12 Jul 2013 21:43:02 +0000 (21:43 +0000)
commit638264ea2a3d084096b10f323a2c4262cce011ac
tree8076681362f54faa4ff0d55fa0be371a608593ff
parentc037383aff81a61ed956858353ec003e970fb2ce
Provide a better diagnostic and a fixit for a '.' or '->' before the left paren
of a function call.

This fixes PR5898 and means we now have a better diagnostic here than GCC.

llvm-svn: 186208
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Parse/ParseExpr.cpp
clang/test/FixIt/fixit.cpp