[clang-tools-extra] r308621 - [clang-tidy] s/1/true/, NFC
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 20 07:56:52 PDT 2017
Author: alexfh
Date: Thu Jul 20 07:56:52 2017
New Revision: 308621
URL: http://llvm.org/viewvc/llvm-project?rev=308621&view=rev
Log:
[clang-tidy] s/1/true/, NFC
Modified:
clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp?rev=308621&r1=308620&r2=308621&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp Thu Jul 20 07:56:52 2017
@@ -140,7 +140,7 @@ UseDefaultMemberInitCheck::UseDefaultMem
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
UseAssignment(Options.get("UseAssignment", 0) != 0),
- IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", 1) != 0) {}
+ IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true) != 0) {}
void UseDefaultMemberInitCheck::storeOptions(
ClangTidyOptions::OptionMap &Opts) {
More information about the cfe-commits
mailing list