forked from OSchip/llvm-project
[clang-tidy] Don't use delegating constructors, since they are not supported by MSVC 2013
llvm-svn: 259214
This commit is contained in:
parent
8c738635b1
commit
d0d8878fb6
|
@ -21,9 +21,10 @@ namespace performance {
|
|||
// isn't any implicit conversion).
|
||||
class ImplicitCastInLoopCheck : public ClangTidyCheck {
|
||||
public:
|
||||
using ClangTidyCheck::ClangTidyCheck;
|
||||
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
|
||||
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
||||
ImplicitCastInLoopCheck(StringRef Name, ClangTidyContext *Context)
|
||||
: ClangTidyCheck(Name, Context) {}
|
||||
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
|
||||
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
|
||||
|
||||
private:
|
||||
void ReportAndFix(const ASTContext *Context, const VarDecl *VD,
|
||||
|
|
Loading…
Reference in New Issue