[clang-tools-extra] r267228 - [Clang-tidy] Fix Clang warning in misc/StringConstructorCheck.h.
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 22 14:33:34 PDT 2016
Author: eugenezelenko
Date: Fri Apr 22 16:33:33 2016
New Revision: 267228
URL: http://llvm.org/viewvc/llvm-project?rev=267228&view=rev
Log:
[Clang-tidy] Fix Clang warning in misc/StringConstructorCheck.h.
Using LLVM_ENABLE_WARNINGS=ON is good idea.
Modified:
clang-tools-extra/trunk/clang-tidy/misc/StringConstructorCheck.h
Modified: clang-tools-extra/trunk/clang-tidy/misc/StringConstructorCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/misc/StringConstructorCheck.h?rev=267228&r1=267227&r2=267228&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/misc/StringConstructorCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/misc/StringConstructorCheck.h Fri Apr 22 16:33:33 2016
@@ -23,7 +23,7 @@ namespace misc {
class StringConstructorCheck : public ClangTidyCheck {
public:
StringConstructorCheck(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