Author: Nico Weber
Date: 2020-09-08T10:02:00-04:00
New Revision: 9933188c90615c9c264ebb69117f09726e909a25

URL: 
https://github.com/llvm/llvm-project/commit/9933188c90615c9c264ebb69117f09726e909a25
DIFF: 
https://github.com/llvm/llvm-project/commit/9933188c90615c9c264ebb69117f09726e909a25.diff

LOG: StructPackAlignCheck: Fix a -Winconsistent-missing-override warning

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h 
b/clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h
index b903641247e3..510e03030590 100644
--- a/clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h
+++ b/clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h
@@ -27,7 +27,7 @@ class StructPackAlignCheck : public ClangTidyCheck {
     MaxConfiguredAlignment(Options.get("MaxConfiguredAlignment", 128)) {}
   void registerMatchers(ast_matchers::MatchFinder *Finder) override;
   void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
-  void storeOptions(ClangTidyOptions::OptionMap &Opts);
+  void storeOptions(ClangTidyOptions::OptionMap &Opts) override;
 
 private:
   const unsigned MaxConfiguredAlignment;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to