diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-01-13 04:36:36 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-01-13 04:36:36 +0000 |
commit | f044bd68e14d9b9792ce66902f9a3bebb15b8bb9 (patch) | |
tree | 87afe20c7f40147a8141e0ab76fc4b34d3cbe5f4 /clang/lib/StaticAnalyzer/Checker.cpp | |
parent | 294c2db42bbef486b55297fcde31e89a88998c69 (diff) | |
download | bcm5719-llvm-f044bd68e14d9b9792ce66902f9a3bebb15b8bb9.tar.gz bcm5719-llvm-f044bd68e14d9b9792ce66902f9a3bebb15b8bb9.zip |
Remove CheckerContext's dependence on setting
the node builder's "tag" ivar (which we would
like to remove).
llvm-svn: 123361
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checker.cpp b/clang/lib/StaticAnalyzer/Checker.cpp index 6867ff5b645..2ee910f8dff 100644 --- a/clang/lib/StaticAnalyzer/Checker.cpp +++ b/clang/lib/StaticAnalyzer/Checker.cpp @@ -27,8 +27,7 @@ CheckerContext::~CheckerContext() { if (Dst.size() == size && !B.BuildSinks && !B.HasGeneratedNode) { if (ST && ST != B.GetState(Pred)) { static int autoTransitionTag = 0; - B.Tag = &autoTransitionTag; - addTransition(ST); + addTransition(ST, &autoTransitionTag); } else Dst.Add(Pred); |