Skip to content

Commit

Permalink
[HIPIFY][fix] Fix for the warning -Winconsistent-missing-override
Browse files Browse the repository at this point in the history
+ Fix for the warning: 'SourceRangeSkipped' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  • Loading branch information
emankov committed Jan 28, 2024
1 parent 4c8ea74 commit 663e83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HipifyAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2712,7 +2712,7 @@ class PPCallbackProxy : public clang::PPCallbacks {
hipifyAction.Ifndef(Loc, MacroNameTok, MD);
}

virtual void SourceRangeSkipped(clang::SourceRange Range, clang::SourceLocation EndifLoc) {
void SourceRangeSkipped(clang::SourceRange Range, clang::SourceLocation EndifLoc) override {
hipifyAction.AddSkippedSourceRange(Range);
}
};
Expand Down

0 comments on commit 663e83c

Please sign in to comment.