reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/unittests/clang-doc/YAMLGeneratorTest.cpp
   77   I.Name = "r";
   78   I.Path = "path/to/A";
   79   I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace);
   81   I.DefLoc = Location(10, llvm::SmallString<16>{"test.cpp"});
   82   I.Loc.emplace_back(12, llvm::SmallString<16>{"test.cpp"});
   84   I.Members.emplace_back("int", "path/to/int", "X",
   86   I.TagType = TagTypeKind::TTK_Class;
   87   I.Bases.emplace_back(EmptySID, "F", "path/to/F", true,
   89   I.Bases.back().ChildFunctions.emplace_back();
   90   I.Bases.back().ChildFunctions.back().Name = "InheritedFunctionOne";
   91   I.Bases.back().Members.emplace_back("int", "path/to/int", "N",
   94   I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record, "");
   95   I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record,
   98   I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record,
  100   I.ChildFunctions.emplace_back();
  101   I.ChildFunctions.back().Name = "OneFunction";
  102   I.ChildEnums.emplace_back();
  103   I.ChildEnums.back().Name = "OneEnum";
  109   auto Err = G->generateDocForInfo(&I, Actual, ClangDocContext());