forked from OSchip/llvm-project
[clangd] Work around PS4 -fno-exceptions, easier than disabling tests?
This commit is contained in:
parent
06019e3125
commit
8e325cfc14
|
@ -245,7 +245,9 @@ TEST(HighlightsTest, ControlFlow) {
|
|||
};
|
||||
for (const char *Test : Tests) {
|
||||
Annotations T(Test);
|
||||
auto AST = TestTU::withCode(T.code()).build();
|
||||
auto TU = TestTU::withCode(T.code());
|
||||
TU.ExtraArgs.push_back("-fexceptions"); // FIXME: stop testing on PS4.
|
||||
auto AST = TU.build();
|
||||
EXPECT_THAT(findDocumentHighlights(AST, T.point()), HighlightsFrom(T))
|
||||
<< Test;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue