Fix ClangTidyOptions constructor to initialize all members. Fixes bug introduced in r207652.
Reviewers: rsmith Subscribers: cfe-commits, alexfh, klimek Differential Revision: http://reviews.llvm.org/D3578 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@207715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
5751488443
Коммит
45e751fbe4
|
@ -15,7 +15,7 @@ namespace tidy {
|
|||
|
||||
/// \brief Contains options for clang-tidy.
|
||||
struct ClangTidyOptions {
|
||||
ClangTidyOptions() : EnableChecksRegex(".*") {}
|
||||
ClangTidyOptions() : EnableChecksRegex(".*"), AnalyzeTemporaryDtors(false) {}
|
||||
std::string EnableChecksRegex;
|
||||
std::string DisableChecksRegex;
|
||||
bool AnalyzeTemporaryDtors;
|
||||
|
|
Загрузка…
Ссылка в новой задаче