[clang-tidy] Don't use delegating constructors.
llvm-svn: 245046
This commit is contained in:
parent
fc650864ef
commit
078ab134ea
|
@ -73,7 +73,8 @@ public:
|
||||||
|
|
||||||
class CSystemIncludeInserterCheck : public IncludeInserterCheckBase {
|
class CSystemIncludeInserterCheck : public IncludeInserterCheckBase {
|
||||||
public:
|
public:
|
||||||
using IncludeInserterCheckBase::IncludeInserterCheckBase;
|
CSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context)
|
||||||
|
: IncludeInserterCheckBase(CheckName, Context) {}
|
||||||
StringRef HeaderToInclude() const override { return "stdlib.h"; }
|
StringRef HeaderToInclude() const override { return "stdlib.h"; }
|
||||||
bool IsAngledInclude() const override { return true; }
|
bool IsAngledInclude() const override { return true; }
|
||||||
};
|
};
|
||||||
|
@ -492,4 +493,4 @@ void foo() {
|
||||||
} // namespace tidy
|
} // namespace tidy
|
||||||
} // namespace clang
|
} // namespace clang
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue