[clang-tools-extra] [clang-doc] Display enum type along with enum name in HTML view (PR #181347)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 19 09:33:04 PST 2026
================
@@ -1207,8 +1207,8 @@ emitInfo(const EnumDecl *D, const FullComment *FC, Location Loc,
return {};
Enum.Scoped = D->isScoped();
- if (D->isFixed()) {
- auto Name = D->getIntegerType().getAsString();
+ if (const TypeSourceInfo *Info = D->getIntegerTypeSourceInfo()) {
----------------
ilovepi wrote:
Even `TSI` or `ETI` would be fine.
https://github.com/llvm/llvm-project/pull/181347
More information about the cfe-commits
mailing list