}
}
- virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) override {
+ void Endif(SourceLocation Loc, SourceLocation IfLoc) override {
Guard->Count++;
// If it's the #endif corresponding to the top-most #ifndef
const MacroDirective *) override {
Guard->Count++;
}
- virtual void Else(SourceLocation, SourceLocation) override {
+ void Else(SourceLocation, SourceLocation) override {
Guard->Count++;
}
ActionFactory(MatchFinder &Finder, Transform &Owner)
: Finder(Finder), Owner(Owner) {}
- virtual FrontendAction *create() override {
+ FrontendAction *create() override {
return new FactoryAdaptor(Finder, Owner);
}
return Owner.handleBeginSource(CI, Filename);
}
- virtual void EndSourceFileAction() override {
+ void EndSourceFileAction() override {
Owner.handleEndSource();
return ASTFrontendAction::EndSourceFileAction();
}