We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4516c7 commit 7c75600Copy full SHA for 7c75600
offload/tools/offload-tblgen/DocGen.cpp
@@ -86,7 +86,11 @@ void processEnum(const EnumRec &E, raw_ostream &OS) {
86
for (const EnumValueRec Etor : E.getValues()) {
87
OS << formatv(" .. c:enumerator:: {0}_{1}\n\n", E.getEnumValNamePrefix(),
88
Etor.getName());
89
- OS << " " << Etor.getDesc() << "\n\n";
+ OS << " ";
90
+ if (E.isTyped()) {
91
+ OS << ":c:expr:`" << Etor.getTaggedType() << "` — ";
92
+ }
93
+ OS << Etor.getDesc() << "\n\n";
94
}
95
96
0 commit comments