[C++11] Add 'override' keyword to virtual methods that override their base class.

llvm-svn: 203641
This commit is contained in:
Craig Topper
2014-03-12 05:09:18 +00:00
parent e14c0f8e73
commit 2b07f0252e
8 changed files with 56 additions and 57 deletions

View File

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