Author: Kadir Cetinkaya Date: 2019-12-04T12:19:47+01:00 New Revision: ba71e84430f98639957f002bf424aef5248832c7
URL: https://github.com/llvm/llvm-project/commit/ba71e84430f98639957f002bf424aef5248832c7 DIFF: https://github.com/llvm/llvm-project/commit/ba71e84430f98639957f002bf424aef5248832c7.diff LOG: [clangd] Add no delayed templates to outline tests Added: Modified: clang-tools-extra/clangd/unittests/TweakTests.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/unittests/TweakTests.cpp b/clang-tools-extra/clangd/unittests/TweakTests.cpp index 1149a0e64978..7bdf599f302e 100644 --- a/clang-tools-extra/clangd/unittests/TweakTests.cpp +++ b/clang-tools-extra/clangd/unittests/TweakTests.cpp @@ -1880,6 +1880,9 @@ TEST_F(DefineOutlineTest, ApplyTest) { llvm::StringMap<std::string> EditedFiles; ExtraFiles["Test.cpp"] = ""; FileName = "Test.hpp"; + // Template body is not parsed until instantiation time on windows, which + // results in arbitrary failures as function body becomes NULL. + ExtraArgs.push_back("-fno-delayed-template-parsing"); struct { llvm::StringRef Test; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits