From: Ted Kremenek Date: Thu, 12 Nov 2009 06:16:18 +0000 (+0000) Subject: Remove obsolete 'struct NullDerefTag'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1acfe8eeafd794c81b8d4fbb27bf483645849156;p=clang Remove obsolete 'struct NullDerefTag'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86957 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/GRState.h b/include/clang/Analysis/PathSensitive/GRState.h index 4e834b535a..976a7427bd 100644 --- a/include/clang/Analysis/PathSensitive/GRState.h +++ b/include/clang/Analysis/PathSensitive/GRState.h @@ -333,12 +333,6 @@ public: void printStdErr() const; void printDOT(llvm::raw_ostream& Out) const; - - // Tags used for the Generic Data Map. - struct NullDerefTag { - static int TagInt; - typedef const SVal* data_type; - }; }; class GRStateSet { diff --git a/lib/Analysis/GRState.cpp b/lib/Analysis/GRState.cpp index f269824d54..23ee0b2258 100644 --- a/lib/Analysis/GRState.cpp +++ b/lib/Analysis/GRState.cpp @@ -332,9 +332,3 @@ bool GRStateManager::isEqual(const GRState* state, const Expr* Ex, bool GRStateManager::isEqual(const GRState* state, const Expr* Ex, uint64_t x) { return isEqual(state, Ex, getBasicVals().getValue(x, Ex->getType())); } - -//===----------------------------------------------------------------------===// -// Persistent values for indexing into the Generic Data Map. - -int GRState::NullDerefTag::TagInt = 0; -