diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-02 18:54:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-02 18:54:58 +0000 |
commit | 3abf3ad0861fb6eb8368f59dcb4cd454939b1bd2 (patch) | |
tree | c8c1c85adf64275f8f3aba6d3e693680ff3c8e19 | |
parent | 3684bd4c9518f6507d375ff8e4a4e32ce3bb51c3 (diff) |
Add "virtual" keywords for clarity.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85815 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Analysis/PathSensitive/AnalysisContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Analysis/PathSensitive/AnalysisContext.h b/include/clang/Analysis/PathSensitive/AnalysisContext.h index 8e02ccf382..e8e80fd286 100644 --- a/include/clang/Analysis/PathSensitive/AnalysisContext.h +++ b/include/clang/Analysis/PathSensitive/AnalysisContext.h @@ -102,7 +102,7 @@ public: return Ctx->getSelfDecl(); } - void Profile(llvm::FoldingSetNodeID &ID) { + virtual void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, Kind, Ctx, Parent); } @@ -122,7 +122,7 @@ public: Stmt const *getCallSite() const { return CallSite; } - void Profile(llvm::FoldingSetNodeID &ID) { + virtual void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, getAnalysisContext(), getParent(), CallSite); } @@ -142,7 +142,7 @@ public: const Stmt *s) : LocationContext(Scope, ctx, parent), Enter(s) {} - void Profile(llvm::FoldingSetNodeID &ID) { + virtual void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, getAnalysisContext(), getParent(), Enter); } |