Searched refs:ScopeProximity (Results 1 – 2 of 2) sorted by relevance
256 ScopeDistance ScopeProximity({"x::y::"}); in TEST() local259 WithSemaScopeProximity.ScopeProximityMatch = &ScopeProximity; in TEST()265 WithIndexScopeProximity.ScopeProximityMatch = &ScopeProximity; in TEST()315 TEST(QualityTests, ScopeProximity) { in TEST() argument317 ScopeDistance ScopeProximity({"x::y::z::", "x::", "llvm::", ""}); in TEST() local318 Relevance.ScopeProximityMatch = &ScopeProximity; in TEST()
1259 llvm::Optional<ScopeDistance> ScopeProximity; member in clang::clangd::__anon4117fc060111::CodeCompleteFlow1429 ScopeProximity.emplace(QueryScopes); in runWithoutSema()1483 ScopeProximity.emplace(QueryScopes); in runWithSema()1678 if (ScopeProximity) in addCandidate()1679 Relevance.ScopeProximityMatch = ScopeProximity.getPointer(); in addCandidate()