File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ void AvoidCArraysCheck::check(const MatchFinder::MatchResult &Result) {
93
93
} else {
94
94
RecommendTypes.push_back (" std::array<>" );
95
95
}
96
- llvm::errs () << llvm::join (RecommendTypes, " or " ) << " \n " ;
97
96
diag (ArrayType->getBeginLoc (),
98
97
" do not declare %select{C-style|C VLA}0 arrays, use %1 instead" )
99
98
<< IsVLA << llvm::join (RecommendTypes, " or " );
Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ Changes in existing checks
112
112
the offending code with ``reinterpret_cast ``, to more clearly express intent.
113
113
114
114
- Improved :doc: `modernize-avoid-c-arrays
115
- <clang-tidy/checks/modernize/avoid-c-arrays>` check to suggest using
116
- `` std::span `` as replacement of incomplete C array in C++20 and `` std::vector ``
117
- in the versions before C++20.
115
+ <clang-tidy/checks/modernize/avoid-c-arrays>` check to suggest using `` std::span ``
116
+ as a replacement for parameters of incomplete C array type in C++20 and
117
+ `` std::array `` or `` std::vector `` before C++20.
118
118
119
119
- Improved :doc: `modernize-use-std-format
120
120
<clang-tidy/checks/modernize/use-std-format>` check to support replacing
You can’t perform that action at this time.
0 commit comments