forked from OSchip/llvm-project
[clangd] Restore -fno-ms-compatibility to tests
Turns out these weren't obsolete after all... http://45.33.8.238/win/50653/step_9.txt
This commit is contained in:
parent
8d897ec915
commit
1a68c14b57
|
@ -1084,6 +1084,8 @@ void g() { ns::$[[scope]]::X_Y(); }
|
|||
)cpp");
|
||||
TestTU TU;
|
||||
TU.Code = std::string(Test.code());
|
||||
// FIXME: Figure out why this is needed and remove it, PR43662.
|
||||
TU.ExtraArgs.push_back("-fno-ms-compatibility");
|
||||
auto Index = buildIndexWithSymbol(
|
||||
SymbolWithHeader{"ns::scope::X_Y", "unittest:///x.h", "\"x.h\""});
|
||||
TU.ExternalIndex = Index.get();
|
||||
|
@ -1109,6 +1111,8 @@ void f() {
|
|||
)cpp");
|
||||
TestTU TU;
|
||||
TU.Code = std::string(Test.code());
|
||||
// FIXME: Figure out why this is needed and remove it, PR43662.
|
||||
TU.ExtraArgs.push_back("-fno-ms-compatibility");
|
||||
auto Index = buildIndexWithSymbol(
|
||||
{SymbolWithHeader{"clang::clangd::X", "unittest:///x.h", "\"x.h\""},
|
||||
SymbolWithHeader{"clang::clangd::ns::Y", "unittest:///y.h", "\"y.h\""}});
|
||||
|
|
Loading…
Reference in New Issue