Skip to content

Commit 6b8f27d

Browse files
committed
Oops, std::array should not be default-initialized
1 parent 1274282 commit 6b8f27d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/AST/ASTContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
280280
/// Store the unique Type corresponding to each Kind.
281281
mutable std::array<Type *,
282282
llvm::to_underlying(PredefinedSugarType::Kind::Max)>
283-
PredefinedSugarTypes;
283+
PredefinedSugarTypes{};
284284

285285
/// The set of nested name specifiers.
286286
///

0 commit comments

Comments
 (0)