From 2dabd4372c50019fa00aae223ce634e0e754a3f2 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 5 Dec 2008 02:27:51 +0000 Subject: 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 --- lib/Analysis/BugReporter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/Analysis/BugReporter.cpp') 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* 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(&V)) ScanSym = SV->getSymbol(); @@ -412,7 +412,7 @@ public: } static void HandleNotableSymbol(ExplodedNode* N, Stmt* S, - SymbolID Sym, BugReporter& BR, + SymbolRef Sym, BugReporter& BR, PathDiagnostic& PD) { ExplodedNode* Pred = N->pred_empty() ? 0 : *N->pred_begin(); @@ -432,7 +432,7 @@ namespace { class VISIBILITY_HIDDEN ScanNotableSymbols : public StoreManager::BindingsHandler { - llvm::SmallSet AlreadyProcessed; + llvm::SmallSet AlreadyProcessed; ExplodedNode* 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(&V)) ScanSym = SV->getSymbol(); -- cgit v1.2.3