Searched refs:TypeHierarchyItem (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.h | 126 std::vector<TypeHierarchyItem> getTypeHierarchy( 132 llvm::Optional<std::vector<TypeHierarchyItem>> 133 superTypes(const TypeHierarchyItem &Item, const SymbolIndex *Index); 135 std::vector<TypeHierarchyItem> subTypes(const TypeHierarchyItem &Item, 138 void resolveTypeHierarchy(TypeHierarchyItem &Item, int ResolveLevels,
|
| H A D | ClangdServer.h | 256 Callback<std::vector<TypeHierarchyItem>> CB); 258 void superTypes(const TypeHierarchyItem &Item, 259 Callback<llvm::Optional<std::vector<TypeHierarchyItem>>> CB); 261 void subTypes(const TypeHierarchyItem &Item, 262 Callback<std::vector<TypeHierarchyItem>> CB); 265 void resolveTypeHierarchy(TypeHierarchyItem Item, int Resolve, 267 Callback<llvm::Optional<TypeHierarchyItem>> CB);
|
| H A D | XRefs.cpp | 1622 static llvm::Optional<TypeHierarchyItem> 1668 static llvm::Optional<TypeHierarchyItem> 1696 if (Optional<TypeHierarchyItem> ChildSym = in fillSubTypes() 1728 if (Optional<TypeHierarchyItem> ParentSym = in fillSuperTypes() 2032 std::vector<TypeHierarchyItem> 2036 std::vector<TypeHierarchyItem> Results; in getTypeHierarchy() 2054 Optional<TypeHierarchyItem> Result = in getTypeHierarchy() 2076 llvm::Optional<std::vector<TypeHierarchyItem>> 2078 std::vector<TypeHierarchyItem> Results; in superTypes() 2098 std::vector<TypeHierarchyItem> subTypes(const TypeHierarchyItem &Item, in subTypes() [all …]
|
| H A D | Protocol.h | 1393 struct TypeHierarchyItem { struct 1431 llvm::Optional<std::vector<TypeHierarchyItem>> parents; argument 1437 llvm::Optional<std::vector<TypeHierarchyItem>> children; argument 1439 llvm::json::Value toJSON(const TypeHierarchyItem::ResolveParams &); 1440 bool fromJSON(const TypeHierarchyItem::ResolveParams &); 1441 llvm::json::Value toJSON(const TypeHierarchyItem &); 1442 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const TypeHierarchyItem &); 1443 bool fromJSON(const llvm::json::Value &, TypeHierarchyItem &, llvm::json::Path); 1448 TypeHierarchyItem item;
|
| H A D | ClangdLSPServer.h | 137 Callback<std::vector<TypeHierarchyItem>>); 139 Callback<llvm::Optional<std::vector<TypeHierarchyItem>>>); 141 Callback<std::vector<TypeHierarchyItem>>);
|
| H A D | ClangdServer.cpp | 754 Callback<std::vector<TypeHierarchyItem>> CB) { in typeHierarchy() 767 const TypeHierarchyItem &Item, in superTypes() 768 Callback<llvm::Optional<std::vector<TypeHierarchyItem>>> CB) { in superTypes() 775 void ClangdServer::subTypes(const TypeHierarchyItem &Item, in subTypes() 776 Callback<std::vector<TypeHierarchyItem>> CB) { in subTypes() 783 TypeHierarchyItem Item, int Resolve, TypeHierarchyDirection Direction, in resolveTypeHierarchy() 784 Callback<llvm::Optional<TypeHierarchyItem>> CB) { in resolveTypeHierarchy()
|
| H A D | ClangdLSPServer.cpp | 1194 llvm::json::Value serializeTHIForExtension(TypeHierarchyItem THI) { in serializeTHIForExtension() 1228 llvm::Expected<std::vector<TypeHierarchyItem>> Resp) mutable { in onTypeHierarchy() 1248 llvm::Expected<llvm::Optional<TypeHierarchyItem>> Resp) mutable { in onResolveTypeHierarchy() 1265 Callback<std::vector<TypeHierarchyItem>> Reply) { in onPrepareTypeHierarchy() 1272 Callback<llvm::Optional<std::vector<TypeHierarchyItem>>> Reply) { in onSuperTypes() 1278 Callback<std::vector<TypeHierarchyItem>> Reply) { in onSubTypes()
|
| H A D | Protocol.cpp | 1212 const TypeHierarchyItem &I) { in operator <<() 1216 llvm::json::Value toJSON(const TypeHierarchyItem::ResolveParams &RP) { in toJSON() 1223 TypeHierarchyItem::ResolveParams &RP, llvm::json::Path P) { in fromJSON() 1229 llvm::json::Value toJSON(const TypeHierarchyItem &I) { in toJSON() 1241 bool fromJSON(const llvm::json::Value &Params, TypeHierarchyItem &I, in fromJSON()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TypeHierarchyTests.cpp | 39 ::testing::Matcher<TypeHierarchyItem> parents(ParentMatchers... ParentsM) { in parents() 40 return Field(&TypeHierarchyItem::parents, in parents() 44 ::testing::Matcher<TypeHierarchyItem> children(ChildMatchers... ChildrenM) { in children() 45 return Field(&TypeHierarchyItem::children, in children() 559 std::vector<TypeHierarchyItem> Result = getTypeHierarchy( in TEST()
|