Home
last modified time | relevance | path

Searched refs:TypeHierarchyDirection (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DTypeHierarchyTests.cpp369 AST, Pt, /*ResolveLevels=*/0, TypeHierarchyDirection::Parents); in TEST()
408 AST, Source.points()[0], 0, TypeHierarchyDirection::Parents); in TEST()
442 AST, Source.point("SRefConcrete"), 0, TypeHierarchyDirection::Parents); in TEST()
453 TypeHierarchyDirection::Parents); in TEST()
479 AST, Source.points()[0], 2, TypeHierarchyDirection::Children, Index.get(), in TEST()
505 AST, Source.points()[0], 2, TypeHierarchyDirection::Children, Index.get(), in TEST()
531 AST, Source.points()[0], 2, TypeHierarchyDirection::Children, Index.get(), in TEST()
556 AST, SourceAnnotations.point(), 1, TypeHierarchyDirection::Parents); in TEST()
733 TypeHierarchyDirection::Children, Index.get(), testPath(TU.Filename)); in TEST()
743 TypeHierarchyDirection::Children, Index.get()); in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DXRefs.h106 ParsedAST &AST, Position Pos, int Resolve, TypeHierarchyDirection Direction,
110 TypeHierarchyDirection Direction,
DClangdServer.h227 TypeHierarchyDirection Direction,
232 TypeHierarchyDirection Direction,
DProtocol.h1323 enum class TypeHierarchyDirection { Children = 0, Parents = 1, Both = 2 }; enum
1324 bool fromJSON(const llvm::json::Value &E, TypeHierarchyDirection &Out,
1335 TypeHierarchyDirection direction = TypeHierarchyDirection::Parents;
1395 TypeHierarchyDirection direction;
DXRefs.cpp1589 TypeHierarchyDirection Direction, const SymbolIndex *Index, in getTypeHierarchy()
1595 bool WantParents = Direction == TypeHierarchyDirection::Parents || in getTypeHierarchy()
1596 Direction == TypeHierarchyDirection::Both; in getTypeHierarchy()
1597 bool WantChildren = Direction == TypeHierarchyDirection::Children || in getTypeHierarchy()
1598 Direction == TypeHierarchyDirection::Both; in getTypeHierarchy()
1636 TypeHierarchyDirection Direction, in resolveTypeHierarchy()
1640 if (Direction == TypeHierarchyDirection::Parents || ResolveLevels == 0) in resolveTypeHierarchy()
DProtocol.cpp1140 bool fromJSON(const llvm::json::Value &E, TypeHierarchyDirection &Out, in fromJSON()
1145 if (*T < static_cast<int>(TypeHierarchyDirection::Children) || in fromJSON()
1146 *T > static_cast<int>(TypeHierarchyDirection::Both)) in fromJSON()
1148 Out = static_cast<TypeHierarchyDirection>(*T); in fromJSON()
DClangdServer.cpp614 TypeHierarchyDirection Direction, in typeHierarchy()
628 TypeHierarchyItem Item, int Resolve, TypeHierarchyDirection Direction, in resolveTypeHierarchy()