diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-12-05 02:27:51 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-12-05 02:27:51 +0000 |
commit | 2dabd4372c50019fa00aae223ce634e0e754a3f2 (patch) | |
tree | a1686ee69df45abb72f13772629c71977dcf435a /lib/Analysis/BugReporter.cpp | |
parent | ebed7971cf47d2fc83f262e7d99cacc3d8b5f163 (diff) |
Rename SymbolID to SymbolRef. This is a precursor to some overhauling of the representation of symbolic values.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r-- | lib/Analysis/BugReporter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index 905c697ffb..8274ce71ff 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp @@ -326,7 +326,7 @@ namespace { class VISIBILITY_HIDDEN NotableSymbolHandler : public StoreManager::BindingsHandler { - SymbolID Sym; + SymbolRef Sym; const GRState* PrevSt; Stmt* S; GRStateManager& VMgr; @@ -336,14 +336,14 @@ class VISIBILITY_HIDDEN NotableSymbolHandler public: - NotableSymbolHandler(SymbolID sym, const GRState* prevst, Stmt* s, + NotableSymbolHandler(SymbolRef sym, const GRState* prevst, Stmt* s, GRStateManager& vmgr, ExplodedNode<GRState>* pred, PathDiagnostic& pd, BugReporter& br) : Sym(sym), PrevSt(prevst), S(s), VMgr(vmgr), Pred(pred), PD(pd), BR(br) {} bool HandleBinding(StoreManager& SMgr, Store store, MemRegion* R, SVal V) { - SymbolID ScanSym; + SymbolRef ScanSym; if (loc::SymbolVal* SV = dyn_cast<loc::SymbolVal>(&V)) ScanSym = SV->getSymbol(); @@ -412,7 +412,7 @@ public: } static void HandleNotableSymbol(ExplodedNode<GRState>* N, Stmt* S, - SymbolID Sym, BugReporter& BR, + SymbolRef Sym, BugReporter& BR, PathDiagnostic& PD) { ExplodedNode<GRState>* Pred = N->pred_empty() ? 0 : *N->pred_begin(); @@ -432,7 +432,7 @@ namespace { class VISIBILITY_HIDDEN ScanNotableSymbols : public StoreManager::BindingsHandler { - llvm::SmallSet<SymbolID, 10> AlreadyProcessed; + llvm::SmallSet<SymbolRef, 10> AlreadyProcessed; ExplodedNode<GRState>* N; Stmt* S; GRBugReporter& BR; @@ -444,7 +444,7 @@ public: : N(n), S(s), BR(br), PD(pd) {} bool HandleBinding(StoreManager& SMgr, Store store, MemRegion* R, SVal V) { - SymbolID ScanSym; + SymbolRef ScanSym; if (loc::SymbolVal* SV = dyn_cast<loc::SymbolVal>(&V)) ScanSym = SV->getSymbol(); |