[clang-tidy] quickfix: add -fno-delayed-template-parsing as default argument for runCheckOnCode unit-tests to unbreak windows

This commit is contained in:
Jonas Toth 2020-01-03 22:02:11 +01:00
parent 05ebaa62e0
commit fed2a5033a
1 changed files with 1 additions and 0 deletions

View File

@ -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");