mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 18:36:55 +00:00
[clangd][test] Disable a particular testcase in FindExplicitReferencesTest when LLVM_ENABLE_EXPENSIVE_CHECKS
The test is failing on our CI bots. Seems like the order of results for one target is undefined. (post-commit review) Differential Revision: https://reviews.llvm.org/D72883
This commit is contained in:
parent
a4a42160c4
commit
42b3c38903
@ -770,6 +770,10 @@ TEST_F(FindExplicitReferencesTest, All) {
|
||||
"1: targets = {vector}\n"
|
||||
"2: targets = {x}\n"},
|
||||
// Handle UnresolvedLookupExpr.
|
||||
// FIXME
|
||||
// This case fails when expensive checks are enabled.
|
||||
// Seems like the order of ns1::func and ns2::func isn't defined.
|
||||
#ifndef EXPENSIVE_CHECKS
|
||||
{R"cpp(
|
||||
namespace ns1 { void func(char*); }
|
||||
namespace ns2 { void func(int*); }
|
||||
@ -783,6 +787,7 @@ TEST_F(FindExplicitReferencesTest, All) {
|
||||
)cpp",
|
||||
"0: targets = {ns1::func, ns2::func}\n"
|
||||
"1: targets = {t}\n"},
|
||||
#endif
|
||||
// Handle UnresolvedMemberExpr.
|
||||
{R"cpp(
|
||||
struct X {
|
||||
|
Loading…
x
Reference in New Issue
Block a user