Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DSerializeTest.cpp139 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 …]
DClangDocTest.h27 RecordInfo *InfoAsRecord(Info *I);
45 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual);
DMergeTest.cpp79 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()
DClangDocTest.cpp22 RecordInfo *InfoAsRecord(Info *I) { in InfoAsRecord()
24 return static_cast<RecordInfo *>(I); in InfoAsRecord()
153 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual) { in CheckRecordInfo()
DBitcodeTest.cpp33 return writeInfo(*static_cast<RecordInfo *>(I)); in writeInfo()
74 RecordInfo I; in TEST()
DMDGeneratorTest.cpp81 RecordInfo I; in TEST()
DHTMLGeneratorTest.cpp145 RecordInfo I; in TEST()
DYAMLGeneratorTest.cpp76 RecordInfo I; in TEST()
/external/llvm-project/clang-tools-extra/clang-doc/
DRepresentation.h339 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()
DYAMLGenerator.cpp128 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()
DSerialize.cpp195 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()
DBitcodeReader.cpp160 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()
DRepresentation.cpp106 return reduce<RecordInfo>(Values); in mergeInfos()
221 void RecordInfo::merge(RecordInfo &&Other) { in merge()
DBitcodeWriter.h153 void emitBlock(const RecordInfo &I);
DMDGenerator.cpp226 static void genMarkdown(const ClangDocContext &CDCtx, const RecordInfo &I, in genMarkdown()
370 genMarkdown(CDCtx, *static_cast<clang::doc::RecordInfo *>(I), OS); in generateDocForInfo()
DBitcodeWriter.cpp489 void ClangDocBitcodeWriter::emitBlock(const RecordInfo &I) { in emitBlock()
561 emitBlock(*static_cast<clang::doc::RecordInfo *>(I)); in dispatchInfoForWrite()
DHTMLGenerator.cpp763 genHTML(const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx, in genHTML()
850 MainContentNodes = genHTML(*static_cast<clang::doc::RecordInfo *>(I), in generateDocForInfo()