Add "virtual" keywords for clarity.

llvm-svn: 85815
This commit is contained in:
Ted Kremenek 2009-11-02 18:54:58 +00:00
parent df022f1449
commit 69e584d12b
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}