]> granicus.if.org Git - clang/commit
c++ error recovery. Build a valid AST when trying
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 1 Oct 2014 18:03:51 +0000 (18:03 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 1 Oct 2014 18:03:51 +0000 (18:03 +0000)
commita0031bde3b462b18b6b6d02dda20200743d978d5
tree9148f56a500421363156c64b6fe94185d21a9ec5
parentf6cd7f477639eebd3470e25ec0a94c7235bdcff3
c++ error recovery. Build a valid AST when trying
to recover from parse error parsing the default
argument. Patch prevents crash after spewing 100s
of errors caused by someone who forgot to compile in c++11
mode. So no test. rdar://18508589

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218780 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp