[clang-tools-extra] r309936 - ClangdTests: Try to unbreak the case CLANG_DEFAULT_CXX_STDLIB=libc++.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 3 06:30:43 PDT 2017
Author: chapuni
Date: Thu Aug 3 06:30:43 2017
New Revision: 309936
URL: http://llvm.org/viewvc/llvm-project?rev=309936&view=rev
Log:
ClangdTests: Try to unbreak the case CLANG_DEFAULT_CXX_STDLIB=libc++.
Modified:
clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
Modified: clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp?rev=309936&r1=309935&r2=309936&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp Thu Aug 3 06:30:43 2017
@@ -455,7 +455,8 @@ TEST_F(ClangdVFSTest, SearchLibDir) {
MockCompilationDatabase CDB(/*AddFreestandingFlag=*/true);
CDB.ExtraClangFlags.insert(CDB.ExtraClangFlags.end(),
{"-xc++", "-target", "x86_64-linux-unknown",
- "-m64", "--gcc-toolchain=/randomusr"});
+ "-m64", "--gcc-toolchain=/randomusr",
+ "-stdlib=libstdc++"});
ClangdServer Server(CDB, DiagConsumer, FS,
/*RunSynchronously=*/true);
More information about the cfe-commits
mailing list