diff options
| author | Ted Kremenek <kremenek@apple.com> | 2011-07-28 23:07:59 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2011-07-28 23:07:59 +0000 |
| commit | e9fda1e48abf86a0b11901f79074fe65fd5202e5 (patch) | |
| tree | 2a9a736cbb2b1990fdee18e04fbd0d3de6dd5b65 /clang/test/Analysis/stack-addr-ps.c | |
| parent | e227f49302a941d6e0380088e8ca22b5f32d7178 (diff) | |
| download | bcm5719-llvm-e9fda1e48abf86a0b11901f79074fe65fd5202e5.tar.gz bcm5719-llvm-e9fda1e48abf86a0b11901f79074fe65fd5202e5.zip | |
[analyzer] Overhaul how the static analyzer expects CFGs by forcing CFGs to be linearized only when used by the static analyzer. This required a rewrite of LiveVariables, and exposed a ton of subtle bugs.
The motivation of this large change is to drastically simplify the logic in ExprEngine going forward.
Some fallout is that the output of some BugReporterVisitors is not as accurate as before; those will
need to be fixed over time. There is also some possible performance regression as RemoveDeadBindings
will be called frequently; this can also be improved over time.
llvm-svn: 136419
Diffstat (limited to 'clang/test/Analysis/stack-addr-ps.c')
| -rw-r--r-- | clang/test/Analysis/stack-addr-ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/stack-addr-ps.c b/clang/test/Analysis/stack-addr-ps.c index bf2a4fa4e13..8a1ae6761ca 100644 --- a/clang/test/Analysis/stack-addr-ps.c +++ b/clang/test/Analysis/stack-addr-ps.c @@ -59,7 +59,7 @@ int struct_test(struct baz byVal, int flag) { typedef int (^ComparatorBlock)(int a, int b); ComparatorBlock test_return_block(void) { ComparatorBlock b = ^int(int a, int b){ return a > b; }; - return b; // expected-warning{{Address of stack-allocated block declared on line 61 returned to caller}} + return b; // expected-warning{{Address of stack-allocated block declared on line 60 returned to caller}} } ComparatorBlock test_return_block_neg_aux(void); |

