llvm-project/clang/Parse
Steve Naroff fbd098332c 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
2007-07-19 01:06:55 +00:00
..
AttributeList.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
DeclSpec.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
Makefile Fix these to allow clang to be in any dir. 2006-10-26 04:56:55 +00:00
MinimalAction.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseDecl.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseExpr.cpp Work towards fixing crasher with compound literals... 2007-07-19 01:06:55 +00:00
ParseExprCXX.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseInit.cpp Work towards fixing crasher with compound literals... 2007-07-19 01:06:55 +00:00
ParseObjc.cpp Finally bite the bullet and make the major change: split the clang namespace 2007-06-15 23:05:46 +00:00
ParseStmt.cpp Add initial switch stmt support, patch by Anders Carlsson! 2007-07-18 02:28:47 +00:00
Parser.cpp Make parser scope cache be a member of the parser instead of a global, 2007-07-15 00:04:39 +00:00