Skip to content

Commit 8437f22

Browse files
committed
Use a C array instead of std::array
1 parent 3de01e9 commit 8437f22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/AST/DeclTemplate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3375,7 +3375,7 @@ class TemplateParamObjectDecl : public ValueDecl,
33753375
///
33763376
/// For example, if the user writes the following expansion statement:
33773377
/// \verbatim
3378-
/// std::array<int, 3> a {1, 2, 3};
3378+
/// int a[3]{1, 2, 3};
33793379
/// template for (auto x : a) {
33803380
/// // ...
33813381
/// }

clang/include/clang/AST/StmtCXX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ class CXXDestructuringExpansionStmt : public CXXExpansionStmt {
897897
/// following expansion statement
898898
///
899899
/// \verbatim
900-
/// std::array<int, 3> a {1, 2, 3};
900+
/// int a[3]{1, 2, 3};
901901
/// template for (auto x : a) {
902902
/// // ...
903903
/// }

0 commit comments

Comments
 (0)