From: Ted Kremenek Date: Fri, 20 Mar 2009 17:33:33 +0000 (+0000) Subject: Allow profiling of "invalid" Symbols. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=def1a888f999725dba7184e4fae7b94f8978032f;p=clang Allow profiling of "invalid" Symbols. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67383 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/SymbolManager.h b/include/clang/Analysis/PathSensitive/SymbolManager.h index 62dadd338f..5096402229 100644 --- a/include/clang/Analysis/PathSensitive/SymbolManager.h +++ b/include/clang/Analysis/PathSensitive/SymbolManager.h @@ -49,7 +49,6 @@ public: bool operator!=(const SymbolRef& X) const { return Data != X.Data; } void Profile(llvm::FoldingSetNodeID& ID) const { - assert (isValid()); ID.AddInteger(Data); } };