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 /include/clang/Analysis/PathSensitive/BugReporter.h | |
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 'include/clang/Analysis/PathSensitive/BugReporter.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/BugReporter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Analysis/PathSensitive/BugReporter.h b/include/clang/Analysis/PathSensitive/BugReporter.h index d62fe61f71..5613ad839b 100644 --- a/include/clang/Analysis/PathSensitive/BugReporter.h +++ b/include/clang/Analysis/PathSensitive/BugReporter.h @@ -236,7 +236,7 @@ public: class GRBugReporter : public BugReporter { GRExprEngine& Eng; - llvm::SmallSet<SymbolID, 10> NotableSymbols; + llvm::SmallSet<SymbolRef, 10> NotableSymbols; public: GRBugReporter(BugReporterData& d, GRExprEngine& eng) @@ -260,11 +260,11 @@ public: virtual void GeneratePathDiagnostic(PathDiagnostic& PD, BugReport& R); - void addNotableSymbol(SymbolID Sym) { + void addNotableSymbol(SymbolRef Sym) { NotableSymbols.insert(Sym); } - bool isNotable(SymbolID Sym) const { + bool isNotable(SymbolRef Sym) const { return (bool) NotableSymbols.count(Sym); } |