File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -278,8 +278,8 @@ class ASTContext : public RefCountedBase<ASTContext> {
278278 ArrayParameterTypes;
279279
280280 // / Store the unique Type corresponding to each Kind.
281- mutable std::array<Type *,
282- llvm::to_underlying ( PredefinedSugarType::Kind::Max )>
281+ mutable std::array<Type *, llvm::to_underlying(
282+ PredefinedSugarType::Kind::NumElements )>
283283 PredefinedSugarTypes{};
284284
285285 // / The set of nested name specifiers.
Original file line number Diff line number Diff line change @@ -2269,7 +2269,7 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
22692269 PtrdiffT,
22702270
22712271 // Indicates how many items the enum has.
2272- Max
2272+ NumElements
22732273 };
22742274
22752275 class PresefinedSugarTypeBitfields {
You can’t perform that action at this time.
0 commit comments