[clang-tidy] Work around failure in Darwin.
llvm-svn: 245517
This commit is contained in:
parent
0ee6ce1c52
commit
87d89d2be1
|
@ -442,7 +442,7 @@ private:
|
||||||
|
|
||||||
UseNullptrCheck::UseNullptrCheck(StringRef Name, ClangTidyContext *Context)
|
UseNullptrCheck::UseNullptrCheck(StringRef Name, ClangTidyContext *Context)
|
||||||
: ClangTidyCheck(Name, Context) {
|
: ClangTidyCheck(Name, Context) {
|
||||||
StringRef MacrosStr = Options.get("NullMacros", "");
|
StringRef MacrosStr = Options.get("NullMacros", "NULL");
|
||||||
MacrosStr.split(NullMacros, ",");
|
MacrosStr.split(NullMacros, ",");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue