Commit 29fa5b7
authored
Revert "[Clang] improve -Wstring-concatenation to warn on every missing comma in initializer lists" (llvm#154369)
Revert llvm#154018 changes due to excessive _false
positives_. The warning caused multiple benign reports in large
codebases (e.g. _Linux kernel_, _Fuchsia_, _tcpdump_). Since many of
these concatenations are intentional and follow project style rules, the
diagnostic introduced more false positives than value. This will be
revisited as a potential `clang-tidy` check instead.1 parent d2b2d6f commit 29fa5b7
File tree
3 files changed
+19
-54
lines changed- clang
- docs
- lib/Sema
- test/Sema
3 files changed
+19
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | 171 | | |
174 | 172 | | |
175 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14708 | 14708 | | |
14709 | 14709 | | |
14710 | 14710 | | |
14711 | | - | |
14712 | | - | |
14713 | | - | |
14714 | | - | |
14715 | | - | |
14716 | | - | |
14717 | | - | |
14718 | | - | |
| 14711 | + | |
14719 | 14712 | | |
14720 | 14713 | | |
14721 | 14714 | | |
| |||
14728 | 14721 | | |
14729 | 14722 | | |
14730 | 14723 | | |
14731 | | - | |
14732 | | - | |
14733 | | - | |
14734 | | - | |
14735 | | - | |
14736 | | - | |
14737 | | - | |
14738 | | - | |
14739 | | - | |
14740 | | - | |
| 14724 | + | |
| 14725 | + | |
| 14726 | + | |
| 14727 | + | |
| 14728 | + | |
| 14729 | + | |
| 14730 | + | |
| 14731 | + | |
| 14732 | + | |
| 14733 | + | |
| 14734 | + | |
| 14735 | + | |
14741 | 14736 | | |
14742 | | - | |
14743 | | - | |
| 14737 | + | |
14744 | 14738 | | |
14745 | | - | |
14746 | | - | |
14747 | | - | |
| 14739 | + | |
| 14740 | + | |
| 14741 | + | |
14748 | 14742 | | |
14749 | 14743 | | |
14750 | 14744 | | |
14751 | 14745 | | |
14752 | 14746 | | |
14753 | 14747 | | |
14754 | 14748 | | |
| 14749 | + | |
| 14750 | + | |
14755 | 14751 | | |
14756 | 14752 | | |
14757 | | - | |
14758 | 14753 | | |
14759 | 14754 | | |
14760 | 14755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
0 commit comments