Home
last modified time | relevance | path

Searched refs:NamespaceInfo (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DSerializeTest.cpp89 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 …]
DClangDocTest.h26 NamespaceInfo *InfoAsNamespace(Info *I);
44 void CheckNamespaceInfo(NamespaceInfo *Expected, NamespaceInfo *Actual);
DMergeTest.cpp17 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()
DClangDocTest.cpp17 NamespaceInfo *InfoAsNamespace(Info *I) { in InfoAsNamespace()
19 return static_cast<NamespaceInfo *>(I); in InfoAsNamespace()
131 void CheckNamespaceInfo(NamespaceInfo *Expected, NamespaceInfo *Actual) { in CheckNamespaceInfo()
DBitcodeTest.cpp31 return writeInfo(*static_cast<NamespaceInfo *>(I)); in writeInfo()
56 NamespaceInfo I; in TEST()
DMDGeneratorTest.cpp25 NamespaceInfo I; in TEST()
DHTMLGeneratorTest.cpp42 NamespaceInfo I; in TEST()
DYAMLGeneratorTest.cpp26 NamespaceInfo I; in TEST()
/external/llvm-project/clang-tools-extra/clang-doc/
DRepresentation.h283 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() function
286 NamespaceInfo(SymbolID USR, StringRef Name) in NamespaceInfo() argument
288 NamespaceInfo(SymbolID USR, StringRef Name, StringRef Path) in NamespaceInfo() argument
291 void merge(NamespaceInfo &&I);
DSerialize.cpp193 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()
DYAMLGenerator.cpp198 template <> struct MappingTraits<NamespaceInfo> {
199 static void mapping(IO &IO, NamespaceInfo &I) { in mapping()
280 InfoYAML << *static_cast<clang::doc::NamespaceInfo *>(I); in generateDocForInfo()
DRepresentation.cpp104 return reduce<NamespaceInfo>(Values); in mergeInfos()
211 void NamespaceInfo::merge(NamespaceInfo &&Other) { in merge()
DBitcodeReader.cpp145 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()
DBitcodeWriter.h152 void emitBlock(const NamespaceInfo &I);
DMDGenerator.cpp176 static void genMarkdown(const ClangDocContext &CDCtx, const NamespaceInfo &I, in genMarkdown()
367 genMarkdown(CDCtx, *static_cast<clang::doc::NamespaceInfo *>(I), OS); in generateDocForInfo()
DBitcodeWriter.cpp453 void ClangDocBitcodeWriter::emitBlock(const NamespaceInfo &I) { in emitBlock()
558 emitBlock(*static_cast<clang::doc::NamespaceInfo *>(I)); in dispatchInfoForWrite()
DHTMLGenerator.cpp719 genHTML(const NamespaceInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx, in genHTML()
846 MainContentNodes = genHTML(*static_cast<clang::doc::NamespaceInfo *>(I), in generateDocForInfo()