/external/llvm-project/clang-tools-extra/unittests/clang-doc/ |
D | SerializeTest.cpp | 139 RecordInfo *E = InfoAsRecord(Infos[0].get()); in TEST() 140 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace"); in TEST() 147 RecordInfo *RecordWithEConstructor = InfoAsRecord(Infos[2].get()); in TEST() 148 RecordInfo ExpectedRecordWithEConstructor(EmptySID); in TEST() 163 RecordInfo *RecordWithMethod = InfoAsRecord(Infos[3].get()); in TEST() 164 RecordInfo ExpectedRecordWithMethod(EmptySID); in TEST() 178 RecordInfo *F = InfoAsRecord(Infos[4].get()); in TEST() 179 RecordInfo ExpectedF(EmptySID, /*Name=*/"F", /*Path=*/"GlobalNamespace"); in TEST() 186 RecordInfo *RecordWithTemplateMethod = InfoAsRecord(Infos[6].get()); in TEST() 187 RecordInfo ExpectedRecordWithTemplateMethod(EmptySID); in TEST() [all …]
|
D | ClangDocTest.h | 27 RecordInfo *InfoAsRecord(Info *I); 45 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual);
|
D | MergeTest.cpp | 79 RecordInfo One; in TEST() 101 RecordInfo Two; in TEST() 117 Infos.emplace_back(std::make_unique<RecordInfo>(std::move(One))); in TEST() 118 Infos.emplace_back(std::make_unique<RecordInfo>(std::move(Two))); in TEST() 120 auto Expected = std::make_unique<RecordInfo>(); in TEST()
|
D | ClangDocTest.cpp | 22 RecordInfo *InfoAsRecord(Info *I) { in InfoAsRecord() 24 return static_cast<RecordInfo *>(I); in InfoAsRecord() 153 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual) { in CheckRecordInfo()
|
D | BitcodeTest.cpp | 33 return writeInfo(*static_cast<RecordInfo *>(I)); in writeInfo() 74 RecordInfo I; in TEST()
|
D | MDGeneratorTest.cpp | 81 RecordInfo I; in TEST()
|
D | HTMLGeneratorTest.cpp | 145 RecordInfo I; in TEST()
|
D | YAMLGeneratorTest.cpp | 76 RecordInfo I; in TEST()
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | Representation.h | 339 struct RecordInfo : public SymbolInfo { struct 340 RecordInfo() : SymbolInfo(InfoType::IT_record) {} in RecordInfo() function 341 RecordInfo(SymbolID USR) : SymbolInfo(InfoType::IT_record, USR) {} in RecordInfo() function 342 RecordInfo(SymbolID USR, StringRef Name) in RecordInfo() function 344 RecordInfo(SymbolID USR, StringRef Name, StringRef Path) in RecordInfo() function 347 void merge(RecordInfo &&I); 373 struct BaseRecordInfo : public RecordInfo { argument 374 BaseRecordInfo() : RecordInfo() {} in BaseRecordInfo() 377 : RecordInfo(USR, Name, Path), IsVirtual(IsVirtual), Access(Access), in BaseRecordInfo()
|
D | YAMLGenerator.cpp | 128 static void RecordInfoMapping(IO &IO, RecordInfo &I) { in RecordInfoMapping() 209 template <> struct MappingTraits<RecordInfo> { 210 static void mapping(IO &IO, RecordInfo &I) { RecordInfoMapping(IO, I); } in mapping() 283 InfoYAML << *static_cast<clang::doc::RecordInfo *>(I); in generateDocForInfo()
|
D | Serialize.cpp | 195 return serialize(*static_cast<RecordInfo *>(I.get())); in serialize() 274 static void parseFields(RecordInfo &I, const RecordDecl *D, bool PublicOnly, in parseFields() 329 static void parseBases(RecordInfo &I, const CXXRecordDecl *D) { in parseBases() 435 parseBases(RecordInfo &I, const CXXRecordDecl *D, bool IsFileInRootDir, in parseBases() 519 auto I = std::make_unique<RecordInfo>(); in emitInfo() 549 auto ParentI = std::make_unique<RecordInfo>(); in emitInfo() 610 auto ParentI = std::make_unique<RecordInfo>(); in emitInfo() 652 auto ParentI = std::make_unique<RecordInfo>(); in emitInfo()
|
D | BitcodeReader.cpp | 160 RecordInfo *I) { in parseRecord() 343 template <> llvm::Expected<CommentInfo *> getCommentInfo(RecordInfo *I) { in getCommentInfo() 369 template <> llvm::Error addTypeInfo(RecordInfo *I, MemberTypeInfo &&T) { in addTypeInfo() 473 template <> llvm::Error addReference(RecordInfo *I, Reference &&R, FieldId F) { in addReference() 507 template <> void addChild(RecordInfo *I, FunctionInfo &&R) { in addChild() 511 template <> void addChild(RecordInfo *I, EnumInfo &&R) { in addChild() 515 template <> void addChild(RecordInfo *I, BaseRecordInfo &&R) { in addChild() 738 return createInfo<RecordInfo>(ID); in readBlockToInfo()
|
D | Representation.cpp | 106 return reduce<RecordInfo>(Values); in mergeInfos() 221 void RecordInfo::merge(RecordInfo &&Other) { in merge()
|
D | BitcodeWriter.h | 153 void emitBlock(const RecordInfo &I);
|
D | MDGenerator.cpp | 226 static void genMarkdown(const ClangDocContext &CDCtx, const RecordInfo &I, in genMarkdown() 370 genMarkdown(CDCtx, *static_cast<clang::doc::RecordInfo *>(I), OS); in generateDocForInfo()
|
D | BitcodeWriter.cpp | 489 void ClangDocBitcodeWriter::emitBlock(const RecordInfo &I) { in emitBlock() 561 emitBlock(*static_cast<clang::doc::RecordInfo *>(I)); in dispatchInfoForWrite()
|
D | HTMLGenerator.cpp | 763 genHTML(const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx, in genHTML() 850 MainContentNodes = genHTML(*static_cast<clang::doc::RecordInfo *>(I), in generateDocForInfo()
|