]> granicus.if.org Git - clang/commit
Fix PR3001: if we have an error parsing an initializer, make sure to remove
authorChris Lattner <sabre@nondot.org>
Mon, 3 Nov 2008 09:28:22 +0000 (09:28 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Nov 2008 09:28:22 +0000 (09:28 +0000)
commite2f56196e916e4d2f9eeec5c8978490cdedb3f64
tree460c39d1e870bc918e8dfe4cf896984e88ce0b8a
parent86cd8afb03dea4c2e5011bd1866fa9eebf3c001f
Fix PR3001: if we have an error parsing an initializer, make sure to remove
the designator corresponding to it, otherwise Sema and later parsing will
get confused.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58603 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Designator.h
lib/Parse/ParseInit.cpp
test/Sema/init.c