================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to