forked from OSchip/llvm-project
[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 {
|
||||
public:
|
||||
using IncludeInserterCheckBase::IncludeInserterCheckBase;
|
||||
CSystemIncludeInserterCheck(StringRef CheckName, ClangTidyContext *Context)
|
||||
: IncludeInserterCheckBase(CheckName, Context) {}
|
||||
StringRef HeaderToInclude() const override { return "stdlib.h"; }
|
||||
bool IsAngledInclude() const override { return true; }
|
||||
};
|
||||
|
@ -492,4 +493,4 @@ void foo() {
|
|||
} // namespace tidy
|
||||
} // namespace clang
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue