Home
last modified time | relevance | path

Searched refs:SymbolScope (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DQualityTests.cpp269 WithIndexScopeProximity.SymbolScope = "x::"; in TEST()
323 Relevance.SymbolScope = "other::"; in TEST()
326 Relevance.SymbolScope = ""; in TEST()
330 Relevance.SymbolScope = "llvm::"; in TEST()
334 Relevance.SymbolScope = "x::"; in TEST()
338 Relevance.SymbolScope = "x::y::"; in TEST()
342 Relevance.SymbolScope = "x::y::z::"; in TEST()
/llvm-project-15.0.7/mlir/lib/IR/
H A DSymbolTable.cpp592 struct SymbolScope { struct
635 static SmallVector<SymbolScope, 2> collectSymbolScopes(Operation *symbol, in collectSymbolScopes()
675 SmallVector<SymbolScope, 2> scopes; in collectSymbolScopes()
695 static SmallVector<SymbolScope, 2> collectSymbolScopes(Operation *symbol, in collectSymbolScopes()
706 static SmallVector<SymbolScope, 1> collectSymbolScopes(StringAttr symbol, in collectSymbolScopes()
766 for (SymbolScope &scope : collectSymbolScopes(symbol, limit)) { in getSymbolUsesImpl()
803 for (SymbolScope &scope : collectSymbolScopes(symbol, limit)) { in symbolKnownUseEmptyImpl()
851 for (SymbolScope &scope : collectSymbolScopes(symbol, limit)) { in replaceAllSymbolUsesImpl()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.cpp284 SymbolScope = IndexResult.Scope; in merge()
388 SymbolScope ? ScopeProximityMatch->distance(*SymbolScope) : 0; in calculateDerivedSignals()
506 S.SymbolScope ? *S.SymbolScope : "<None>"); in operator <<()
H A DFileDistance.cpp218 unsigned ScopeDistance::distance(llvm::StringRef SymbolScope) { in distance() argument
219 return Distance.distance(scopeToPath(SymbolScope).first); in distance()
H A DFileDistance.h117 unsigned distance(llvm::StringRef SymbolScope);
H A DQuality.h108 llvm::Optional<llvm::StringRef> SymbolScope; member