Home
last modified time | relevance | path

Searched refs:EmptySID (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DSerializeTest.cpp90 NamespaceInfo ExpectedA(EmptySID, "A"); in TEST()
94 NamespaceInfo ExpectedB(EmptySID, /*Name=*/"B", /*Path=*/"A"); in TEST()
95 ExpectedB.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
99 NamespaceInfo ExpectedBWithFunction(EmptySID); in TEST()
102 F.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
104 F.Namespace.emplace_back(EmptySID, "B", InfoType::IT_namespace); in TEST()
105 F.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
116 NamespaceInfo ExpectedA(EmptySID); in TEST()
140 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace"); in TEST()
141 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
[all …]
DMergeTest.cpp19 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
34 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
36 Two.ChildNamespaces.emplace_back(EmptySID, "OtherChildNamespace", in TEST()
38 Two.ChildRecords.emplace_back(EmptySID, "OtherChildStruct", in TEST()
51 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
57 Expected->ChildNamespaces.emplace_back(EmptySID, "OtherChildNamespace", in TEST()
59 Expected->ChildRecords.emplace_back(EmptySID, "OtherChildStruct", in TEST()
81 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
87 One.Parents.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
88 One.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
[all …]
DBitcodeTest.cpp58 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
60 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
62 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
76 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
84 I.Bases.emplace_back(EmptySID, "F", "path/to/F", true, in TEST()
88 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
89 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
91 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
105 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
110 I.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
[all …]
DYAMLGeneratorTest.cpp29 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
31 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
33 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
79 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
87 I.Bases.emplace_back(EmptySID, "F", "path/to/F", true, in TEST()
94 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record, ""); in TEST()
95 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record, in TEST()
98 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
178 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
186 TypeInfo(EmptySID, "void", InfoType::IT_default, "path/to/void"); in TEST()
[all …]
DMDGeneratorTest.cpp27 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
29 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
31 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
83 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
90 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
91 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
93 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
150 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
157 I.ReturnType = TypeInfo(EmptySID, "void", InfoType::IT_default); in TEST()
160 I.Parent = Reference(EmptySID, "Parent", InfoType::IT_record); in TEST()
[all …]
DHTMLGeneratorTest.cpp44 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
46 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
48 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
148 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
157 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record, PathTo); in TEST()
158 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
160 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
323 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
DClangDocTest.h22 static const SymbolID EmptySID = SymbolID(); variable
/external/llvm-project/clang-tools-extra/clang-doc/
DRepresentation.cpp31 const SymbolID EmptySID = SymbolID(); variable
179 if (USR == EmptySID) in mergeBase()
255 if (ReturnType.Type.USR == EmptySID && ReturnType.Type.Name == "") in merge()
257 if (Parent.USR == EmptySID && Parent.Name == "") in merge()
DBitcodeWriter.cpp17 static const SymbolID EmptySID = SymbolID(); variable
307 if (!prepRecordData(ID, Sym != EmptySID)) in emitRecord()
402 if (R.USR == EmptySID && R.Name.empty()) in emitBlock()