Searched refs:NamespaceInfo (Results 1 – 17 of 17) sorted by relevance
/external/llvm-project/clang-tools-extra/unittests/clang-doc/ |
D | SerializeTest.cpp | 89 NamespaceInfo *A = InfoAsNamespace(Infos[0].get()); in TEST() 90 NamespaceInfo ExpectedA(EmptySID, "A"); in TEST() 93 NamespaceInfo *B = InfoAsNamespace(Infos[2].get()); in TEST() 94 NamespaceInfo ExpectedB(EmptySID, /*Name=*/"B", /*Path=*/"A"); in TEST() 98 NamespaceInfo *BWithFunction = InfoAsNamespace(Infos[4].get()); in TEST() 99 NamespaceInfo ExpectedBWithFunction(EmptySID); in TEST() 115 NamespaceInfo *A = InfoAsNamespace(Infos[0].get()); in TEST() 116 NamespaceInfo ExpectedA(EmptySID); in TEST() 238 NamespaceInfo *NamespaceWithEnum = InfoAsNamespace(Infos[0].get()); in TEST() 239 NamespaceInfo ExpectedNamespaceWithEnum(EmptySID); in TEST() [all …]
|
D | ClangDocTest.h | 26 NamespaceInfo *InfoAsNamespace(Info *I); 44 void CheckNamespaceInfo(NamespaceInfo *Expected, NamespaceInfo *Actual);
|
D | MergeTest.cpp | 17 NamespaceInfo One; in TEST() 32 NamespaceInfo Two; in TEST() 46 Infos.emplace_back(std::make_unique<NamespaceInfo>(std::move(One))); in TEST() 47 Infos.emplace_back(std::make_unique<NamespaceInfo>(std::move(Two))); in TEST() 49 auto Expected = std::make_unique<NamespaceInfo>(); in TEST()
|
D | ClangDocTest.cpp | 17 NamespaceInfo *InfoAsNamespace(Info *I) { in InfoAsNamespace() 19 return static_cast<NamespaceInfo *>(I); in InfoAsNamespace() 131 void CheckNamespaceInfo(NamespaceInfo *Expected, NamespaceInfo *Actual) { in CheckNamespaceInfo()
|
D | BitcodeTest.cpp | 31 return writeInfo(*static_cast<NamespaceInfo *>(I)); in writeInfo() 56 NamespaceInfo I; in TEST()
|
D | MDGeneratorTest.cpp | 25 NamespaceInfo I; in TEST()
|
D | HTMLGeneratorTest.cpp | 42 NamespaceInfo I; in TEST()
|
D | YAMLGeneratorTest.cpp | 26 NamespaceInfo I; in TEST()
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | Representation.h | 283 struct NamespaceInfo : public Info { struct 284 NamespaceInfo() : Info(InfoType::IT_namespace) {} in NamespaceInfo() argument 285 NamespaceInfo(SymbolID USR) : Info(InfoType::IT_namespace, USR) {} in NamespaceInfo() argument 286 NamespaceInfo(SymbolID USR, StringRef Name) in NamespaceInfo() argument 288 NamespaceInfo(SymbolID USR, StringRef Name, StringRef Path) in NamespaceInfo() function 291 void merge(NamespaceInfo &&I);
|
D | Serialize.cpp | 193 return serialize(*static_cast<NamespaceInfo *>(I.get())); in serialize() 493 auto I = std::make_unique<NamespaceInfo>(); in emitInfo() 506 auto ParentI = std::make_unique<NamespaceInfo>(); in emitInfo() 541 auto ParentI = std::make_unique<NamespaceInfo>(); in emitInfo() 573 auto ParentI = std::make_unique<NamespaceInfo>(); in emitInfo() 632 auto ParentI = std::make_unique<NamespaceInfo>(); in emitInfo() 644 auto ParentI = std::make_unique<NamespaceInfo>(); in emitInfo()
|
D | YAMLGenerator.cpp | 198 template <> struct MappingTraits<NamespaceInfo> { 199 static void mapping(IO &IO, NamespaceInfo &I) { in mapping() 280 InfoYAML << *static_cast<clang::doc::NamespaceInfo *>(I); in generateDocForInfo()
|
D | Representation.cpp | 104 return reduce<NamespaceInfo>(Values); in mergeInfos() 211 void NamespaceInfo::merge(NamespaceInfo &&Other) { in merge()
|
D | BitcodeReader.cpp | 145 NamespaceInfo *I) { in parseRecord() 338 template <> llvm::Expected<CommentInfo *> getCommentInfo(NamespaceInfo *I) { in getCommentInfo() 441 llvm::Error addReference(NamespaceInfo *I, Reference &&R, FieldId F) { in addReference() 499 template <> void addChild(NamespaceInfo *I, FunctionInfo &&R) { in addChild() 503 template <> void addChild(NamespaceInfo *I, EnumInfo &&R) { in addChild() 736 return createInfo<NamespaceInfo>(ID); in readBlockToInfo()
|
D | BitcodeWriter.h | 152 void emitBlock(const NamespaceInfo &I);
|
D | MDGenerator.cpp | 176 static void genMarkdown(const ClangDocContext &CDCtx, const NamespaceInfo &I, in genMarkdown() 367 genMarkdown(CDCtx, *static_cast<clang::doc::NamespaceInfo *>(I), OS); in generateDocForInfo()
|
D | BitcodeWriter.cpp | 453 void ClangDocBitcodeWriter::emitBlock(const NamespaceInfo &I) { in emitBlock() 558 emitBlock(*static_cast<clang::doc::NamespaceInfo *>(I)); in dispatchInfoForWrite()
|
D | HTMLGenerator.cpp | 719 genHTML(const NamespaceInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx, in genHTML() 846 MainContentNodes = genHTML(*static_cast<clang::doc::NamespaceInfo *>(I), in generateDocForInfo()
|