Ted Kremenek
|
589493227b
|
Teach GRExprEngine to handle the initialization of the condition variable of a SwitchStmt.
llvm-svn: 92102
|
2009-12-24 00:40:03 +00:00 |
Ted Kremenek
|
a7bcbde814
|
Add CFG support for the condition variable that can appear in IfStmts in C++ mode.
Add transfer function support in GRExprEngine for IfStmts with initialized condition variables.
llvm-svn: 91987
|
2009-12-23 04:49:01 +00:00 |
Ted Kremenek
|
343b51271d
|
Also treat the type of the subexpression as a pointer in GRExprEngine::VisitCast when the expression is handled as an lvalue.
llvm-svn: 91969
|
2009-12-23 01:19:20 +00:00 |
Ted Kremenek
|
22cc1a8438
|
Add basic support for analyzing CastExprs as lvalues.
llvm-svn: 91952
|
2009-12-23 00:26:16 +00:00 |
Zhongxing Xu
|
4794801e27
|
Use the FunctionDecl's result type to know exactly if it returns a reference.
llvm-svn: 91751
|
2009-12-19 03:17:55 +00:00 |
Ted Kremenek
|
af1bdd71af
|
Enhance GRExprEngine::VisitCallExpr() to be used in an lvalue context. Uncovered a new failing test case along the way, but we're making progress on handling C++ references in the analyzer.
llvm-svn: 91710
|
2009-12-18 20:13:39 +00:00 |
Ted Kremenek
|
85bcc986d6
|
Add failing test case for C++ static analysis.
llvm-svn: 91578
|
2009-12-17 01:44:13 +00:00 |