]> granicus.if.org Git - clang/commit
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)
commit6e9d86b31813edafb775c93e5b5595ebce1e71e1
tree0f1ed4b51ffbc0658766d909f16a248a92e24285
parentf9e65a274d4e5c5a45503efc81da43be76503983
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186208 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseExpr.cpp
test/FixIt/fixit.cpp