[clang-tools-extra] r245517 - [clang-tidy] Work around failure in Darwin.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 19 16:03:24 PDT 2015
Author: alexfh
Date: Wed Aug 19 18:03:23 2015
New Revision: 245517
URL: http://llvm.org/viewvc/llvm-project?rev=245517&view=rev
Log:
[clang-tidy] Work around failure in Darwin.
Modified:
clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp?rev=245517&r1=245516&r2=245517&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/modernize/UseNullptrCheck.cpp Wed Aug 19 18:03:23 2015
@@ -442,7 +442,7 @@ private:
UseNullptrCheck::UseNullptrCheck(StringRef Name, ClangTidyContext *Context)
: ClangTidyCheck(Name, Context) {
- StringRef MacrosStr = Options.get("NullMacros", "");
+ StringRef MacrosStr = Options.get("NullMacros", "NULL");
MacrosStr.split(NullMacros, ",");
}
More information about the cfe-commits
mailing list