[cfe-commits] r85815 - /cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisContext.h
Ted Kremenek
kremenek at apple.com
Mon Nov 2 10:54:59 PST 2009
Author: kremenek
Date: Mon Nov 2 12:54:58 2009
New Revision: 85815
URL: http://llvm.org/viewvc/llvm-project?rev=85815&view=rev
Log:
Add "virtual" keywords for clarity.
Modified:
cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisContext.h
Modified: cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisContext.h?rev=85815&r1=85814&r2=85815&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisContext.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/AnalysisContext.h Mon Nov 2 12:54:58 2009
@@ -102,7 +102,7 @@
return Ctx->getSelfDecl();
}
- void Profile(llvm::FoldingSetNodeID &ID) {
+ virtual void Profile(llvm::FoldingSetNodeID &ID) {
Profile(ID, Kind, Ctx, Parent);
}
@@ -122,7 +122,7 @@
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 @@
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);
}
More information about the cfe-commits
mailing list