Skip to content
Commit 8bafa2cf authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Internally store the body of a BlockExpr using a Stmt* instead of a...

Internally store the body of a BlockExpr using a Stmt* instead of a CompoundStmt*, and use the getBody() method to do the appropriate checking.  This both removes the type-punning warnings in Expr.cpp and also makes BlockExpr have more consistency checks against modifications to its body (via StmtIterator).

llvm-svn: 56710
parent 2e53c519
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