[clang-tidy] Don't use delegating constructors.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@245046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
78f15552b8
Коммит
b346722d21
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче