diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-08 21:59:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-08 21:59:01 +0000 |
commit | 46415261ee5dc828c6f6c6f2be95bd3896c5683c (patch) | |
tree | 3c27c3b020d73eb508b3623e988920ab55958759 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 3a90716f6a955e3a2de557f6714a29a84422ea87 (diff) | |
download | bcm5719-llvm-46415261ee5dc828c6f6c6f2be95bd3896c5683c.tar.gz bcm5719-llvm-46415261ee5dc828c6f6c6f2be95bd3896c5683c.zip |
Fix PR3172: if we see an eof or } at the top level, reject it.
This is important because ParseDeclarationOrFunctionDefinition
skips to, but does not consume, an } on error.
llvm-svn: 60719
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions