• Home
  • Raw
  • Download

Lines Matching refs:DocInfo

171 bool isExcluded(const Record *OptionOrGroup, const Record *DocInfo) {  in isExcluded()  argument
173 for (StringRef Exclusion : DocInfo->getValueAsListOfStrings("ExcludedFlags")) in isExcluded()
292 void forEachOptionName(const DocumentedOption &Option, const Record *DocInfo, in forEachOptionName() argument
297 if (!isExcluded(Alias, DocInfo) && canSphinxCopeWithOption(Option.Option)) in forEachOptionName()
301 void emitOption(const DocumentedOption &Option, const Record *DocInfo, in emitOption() argument
303 if (isExcluded(Option.Option, DocInfo)) in emitOption()
315 forEachOptionName(Option, DocInfo, [&](const Record *Option) { in emitOption()
330 OS << ".. program:: " << DocInfo->getValueAsString("Program") in emitOption()
336 forEachOptionName(Option, DocInfo, [&](const Record *Option) { in emitOption()
340 OS << "\n.. program:: " << DocInfo->getValueAsString("Program"); in emitOption()
351 const Record *DocInfo, raw_ostream &OS);
353 void emitGroup(int Depth, const DocumentedGroup &Group, const Record *DocInfo, in emitGroup() argument
355 if (isExcluded(Group.Group, DocInfo)) in emitGroup()
368 emitDocumentation(Depth + 1, Group, DocInfo, OS); in emitGroup()
372 const Record *DocInfo, raw_ostream &OS) { in emitDocumentation() argument
374 emitOption(O, DocInfo, OS); in emitDocumentation()
376 emitGroup(Depth, G, DocInfo, OS); in emitDocumentation()
382 const Record *DocInfo = Records.getDef("GlobalDocumentation"); in EmitClangOptDocs() local
383 if (!DocInfo) { in EmitClangOptDocs()
388 OS << DocInfo->getValueAsString("Intro") << "\n"; in EmitClangOptDocs()
389 OS << ".. program:: " << DocInfo->getValueAsString("Program") << "\n"; in EmitClangOptDocs()
391 emitDocumentation(0, extractDocumentation(Records), DocInfo, OS); in EmitClangOptDocs()