Skip to content

Commit

Permalink
[clangd] Fix windows buildbots
Browse files Browse the repository at this point in the history
  • Loading branch information
kadircet committed Mar 4, 2020
1 parent 5e0f9d5 commit a8706b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
Expand Up @@ -373,7 +373,10 @@ TEST(ParsedASTTest, ReplayPreambleForTidyCheckers) {
TU.AdditionalFiles["bar.h"] = "";
TU.AdditionalFiles["baz.h"] = "";
TU.AdditionalFiles["a.h"] = "";
TU.ExtraArgs = {"-isystem."};
// Since we are also testing #import directives, and they don't make much
// sense in c++ (also they actually break on windows), just set language to
// obj-c.
TU.ExtraArgs = {"-isystem.", "-xobjective-c"};

const auto &AST = TU.build();
const auto &SM = AST.getSourceManager();
Expand Down

0 comments on commit a8706b2

Please sign in to comment.