Make most clangd unittests pass on Windows
authorNico Weber <nicolasweber@gmx.de>
Sun, 13 Oct 2019 13:15:27 +0000 (13:15 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 13 Oct 2019 13:15:27 +0000 (13:15 +0000)
commit51fa7409e7be48f77e16c31d7e61e7de49310163
treec20f20506ae2e1dca8f333cc814831c3a860897e
parent2c775709f6c23c691969cc900535b4ce339668c5
Make most clangd unittests pass on Windows

The Windows triple currently turns on delayed template parsing, which
confuses several unit tests that use templates.

For now, just explicitly disable delayed template parsing. This isn't
ideal, but:

- the Windows triple will soon no longer use delayed template parsing
  by default

- there's precedent for this in the clangd unit tests already

- let's get the clangd tests pass on Windows first before making
  behavioral changes

Part of PR43592.

llvm-svn: 374718
clang-tools-extra/clangd/unittests/FindTargetTests.cpp
clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
clang-tools-extra/clangd/unittests/SelectionTests.cpp
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
clang-tools-extra/clangd/unittests/TweakTesting.cpp
clang-tools-extra/clangd/unittests/TweakTesting.h
clang-tools-extra/clangd/unittests/TweakTests.cpp
clang-tools-extra/clangd/unittests/XRefsTests.cpp