================
@@ -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()) {
----------------
evelez7 wrote:
mega-nit: `Info` is a pretty loaded name in clang-doc's context. Everything is
called an `Info`. I know this is local to the conditional, but can we rename
this to something like `EnumTypeInfo`?
https://github.com/llvm/llvm-project/pull/181347
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits