]> granicus.if.org Git - clang/commit
Continue parsing an expression list even after an error is encountered.
authorKaelyn Takata <rikka@google.com>
Mon, 14 Jul 2014 22:48:10 +0000 (22:48 +0000)
committerKaelyn Takata <rikka@google.com>
Mon, 14 Jul 2014 22:48:10 +0000 (22:48 +0000)
commit972dfa6156c05c418df4c9520d36b727b3639097
treee21966f9e638b55e14a7910ecc9680733e6aa8f8
parent46531548410c3ea07eb1396f930f9d5505952bae
Continue parsing an expression list even after an error is encountered.

Otherwise, multiple errors such as having unknown identifiers for two
arguments won't be diagnosed properly (e.g. only the first one would
have a diagnostic message if typo correction fails even though both
would be diagnosed if typo correction suggests a replacement).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
test/Parser/expressions.c
test/SemaCXX/types_compatible_p.cpp
test/SemaObjC/error-missing-getter.m