Skip to content
Commit 7f58c3df authored by Chris Lattner's avatar Chris Lattner
Browse files

Do not use ParseCompoundStatement to parse the body of a function. This causes

an extra scope stack to be pushed between the function body and arguments, which
causes the parser to incorrectly accept stuff like 'int foo(int A) { int A; }',
which is test/Parser/argument_redef.c.

llvm-svn: 39252
parent ac71608b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment