diff options
author | Steve Naroff <snaroff@apple.com> | 2007-07-19 01:06:55 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-07-19 01:06:55 +0000 |
commit | fbd098332ca3e161fe2f2dbecdf0e17404f1a37c (patch) | |
tree | 6cf9e9bb0eadfedb996e2b3c5b729bd2f72e7d97 /llvm/lib/Transforms/Utils/LCSSA.cpp | |
parent | 22b0c344db802bcb04614b0035b620f03ff20f60 (diff) | |
download | bcm5719-llvm-fbd098332ca3e161fe2f2dbecdf0e17404f1a37c.tar.gz bcm5719-llvm-fbd098332ca3e161fe2f2dbecdf0e17404f1a37c.zip |
Work towards fixing crasher with compound literals...
Before this commit, we crashed in ParseBinOp...
[dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang -parse-ast-check compound_literal.c
SemaExpr.cpp:1298: failed assertion `(rhs != 0) && "ParseBinOp(): missing right expression"'
With this commit, we still crash in the newly added action ParseCompoundLiteral (which is progress:-)
[dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang -parse-ast-check compound_literal.c
SemaExpr.cpp:478: failed assertion `(Op != 0) && "ParseCompoundLiteral(): missing expression"'
The crash go away once the actions return AST nodes. I will do this in a separate commit.
llvm-svn: 40032
Diffstat (limited to 'llvm/lib/Transforms/Utils/LCSSA.cpp')
0 files changed, 0 insertions, 0 deletions