summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-07-20 14:56:52 +0000
committerAlexander Kornienko <alexfh@google.com>2017-07-20 14:56:52 +0000
commitdeda4b2ae0916bf7fd992ba9c6434b82f5e9624a (patch)
tree127c0f07c34d8f760cb2095a6cdb41572f81d5ba /clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
parentfc1651cb1a37cbe31965ce3acb25599c92020dfa (diff)
downloadbcm5719-llvm-deda4b2ae0916bf7fd992ba9c6434b82f5e9624a.tar.gz
bcm5719-llvm-deda4b2ae0916bf7fd992ba9c6434b82f5e9624a.zip
[clang-tidy] s/1/true/, NFC
llvm-svn: 308621
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
index 7fa773cc362..67a2c3d5d52 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
@@ -140,7 +140,7 @@ UseDefaultMemberInitCheck::UseDefaultMemberInitCheck(StringRef Name,
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) {
OpenPOWER on IntegriCloud