diff options
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r-- | lib/Analysis/BugReporter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index e1265ded17..88887b1d6c 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp @@ -419,7 +419,8 @@ public: 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) { + bool HandleBinding(StoreManager& SMgr, Store store, + const MemRegion* R, SVal V) { SymbolRef ScanSym; @@ -521,7 +522,8 @@ public: PathDiagnostic& pd) : N(n), S(s), BR(br), PD(pd) {} - bool HandleBinding(StoreManager& SMgr, Store store, MemRegion* R, SVal V) { + bool HandleBinding(StoreManager& SMgr, Store store, + const MemRegion* R, SVal V) { SymbolRef ScanSym; if (loc::SymbolVal* SV = dyn_cast<loc::SymbolVal>(&V)) |