forked from OSchip/llvm-project
[clang-tidy] quickfix: add -fno-delayed-template-parsing as default argument for runCheckOnCode unit-tests to unbreak windows
This commit is contained in:
parent
05ebaa62e0
commit
fed2a5033a
|
@ -97,6 +97,7 @@ runCheckOnCode(StringRef Code, std::vector<ClangTidyError> *Errors = nullptr,
|
|||
|
||||
std::vector<std::string> Args(1, "clang-tidy");
|
||||
Args.push_back("-fsyntax-only");
|
||||
Args.push_back("-fno-delayed-template-parsing");
|
||||
std::string extension(llvm::sys::path::extension(Filename.str()));
|
||||
if (extension == ".m" || extension == ".mm") {
|
||||
Args.push_back("-fobjc-abi-version=2");
|
||||
|
|
Loading…
Reference in New Issue