[clang-tools-extra] r264862 - [clang-tidy] Fix MSVC build.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 30 05:35:05 PDT 2016
Author: alexfh
Date: Wed Mar 30 07:35:05 2016
New Revision: 264862
URL: http://llvm.org/viewvc/llvm-project?rev=264862&view=rev
Log:
[clang-tidy] Fix MSVC build.
Modified:
clang-tools-extra/trunk/clang-tidy/readability/AvoidConstParamsInDecls.h
Modified: clang-tools-extra/trunk/clang-tidy/readability/AvoidConstParamsInDecls.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/readability/AvoidConstParamsInDecls.h?rev=264862&r1=264861&r2=264862&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/readability/AvoidConstParamsInDecls.h (original)
+++ clang-tools-extra/trunk/clang-tidy/readability/AvoidConstParamsInDecls.h Wed Mar 30 07:35:05 2016
@@ -20,7 +20,8 @@ namespace readability {
// them.
class AvoidConstParamsInDecls : public ClangTidyCheck {
public:
- using ClangTidyCheck::ClangTidyCheck;
+ AvoidConstParamsInDecls(StringRef Name, ClangTidyContext *Context)
+ : ClangTidyCheck(Name, Context) {}
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
More information about the cfe-commits
mailing list