[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203641
This commit is contained in:
@@ -33,7 +33,7 @@ class ActionCommentHandler : public CommentHandler {
|
||||
public:
|
||||
explicit ActionCommentHandler(Sema &S) : S(S) { }
|
||||
|
||||
virtual bool HandleComment(Preprocessor &PP, SourceRange Comment) {
|
||||
bool HandleComment(Preprocessor &PP, SourceRange Comment) override {
|
||||
S.ActOnComment(Comment);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user