[clang] [Clang] avoid assertion in __underlying_type for enum redeclarations (PR #177984)
Oleksandr Tarasiuk via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 08:38:19 PST 2026
================
@@ -9891,7 +9891,6 @@ static QualType GetEnumUnderlyingType(Sema &S, QualType BaseType,
// This is an enum without a fixed underlying type which we skipped parsing
// the body because we saw its definition previously in another module.
// Use the definition's integer type in that case.
----------------
a-tarasyuk wrote:
@mizvekov thanks for the review. I've removed this comment
https://github.com/llvm/llvm-project/pull/177984
More information about the cfe-commits
mailing list