[clang-tidy] Don't use delegating constructors.

llvm-svn: 245046
This commit is contained in:
Alexander Kornienko 2015-08-14 13:23:55 +00:00
parent fc650864ef
commit 078ab134ea
1 changed files with 3 additions and 2 deletions

View File

@ -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