[clang-tools-extra] r266511 - Add missing override keyword to silence -Winconsistent-missing-override. NFC

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 15 19:42:04 PDT 2016


Author: ctopper
Date: Fri Apr 15 21:42:03 2016
New Revision: 266511

URL: http://llvm.org/viewvc/llvm-project?rev=266511&view=rev
Log:
Add missing override keyword to silence -Winconsistent-missing-override. NFC

Modified:
    clang-tools-extra/trunk/clang-tidy/misc/SizeofExpressionCheck.h

Modified: clang-tools-extra/trunk/clang-tidy/misc/SizeofExpressionCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/misc/SizeofExpressionCheck.h?rev=266511&r1=266510&r2=266511&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/misc/SizeofExpressionCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/misc/SizeofExpressionCheck.h Fri Apr 15 21:42:03 2016
@@ -23,7 +23,7 @@ namespace misc {
 class SizeofExpressionCheck : public ClangTidyCheck {
 public:
   SizeofExpressionCheck(StringRef Name, ClangTidyContext *Context);
-  void storeOptions(ClangTidyOptions::OptionMap &Opts);
+  void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
   void registerMatchers(ast_matchers::MatchFinder *Finder) override;
   void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
 




More information about the cfe-commits mailing list