Commit ab211da
committed
Factor common code for quoting a builtin name
This shows up in several places in order to match the quoting of other
uses of the same diagnostic. Handling it centrally simplifies the code
and reduces changes if the storage for builtin names changes.
This refactoring is extracted out of #120534 as requested in code
review.1 parent 665d79f commit ab211da
File tree
4 files changed
+16
-10
lines changed- clang
- include/clang/Basic
- lib
- AST
- ByteCode
- Basic
4 files changed
+16
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | | - | |
| 1951 | + | |
1952 | 1952 | | |
1953 | 1953 | | |
1954 | 1954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9858 | 9858 | | |
9859 | 9859 | | |
9860 | 9860 | | |
9861 | | - | |
| 9861 | + | |
9862 | 9862 | | |
9863 | 9863 | | |
9864 | 9864 | | |
| |||
9903 | 9903 | | |
9904 | 9904 | | |
9905 | 9905 | | |
9906 | | - | |
9907 | | - | |
| 9906 | + | |
9908 | 9907 | | |
9909 | 9908 | | |
9910 | 9909 | | |
| |||
9966 | 9965 | | |
9967 | 9966 | | |
9968 | 9967 | | |
9969 | | - | |
| 9968 | + | |
9970 | 9969 | | |
9971 | 9970 | | |
9972 | 9971 | | |
| |||
13241 | 13240 | | |
13242 | 13241 | | |
13243 | 13242 | | |
13244 | | - | |
| 13243 | + | |
13245 | 13244 | | |
13246 | 13245 | | |
13247 | 13246 | | |
| |||
13266 | 13265 | | |
13267 | 13266 | | |
13268 | 13267 | | |
13269 | | - | |
| 13268 | + | |
13270 | 13269 | | |
13271 | 13270 | | |
13272 | 13271 | | |
| |||
13321 | 13320 | | |
13322 | 13321 | | |
13323 | 13322 | | |
13324 | | - | |
13325 | | - | |
| 13323 | + | |
| 13324 | + | |
13326 | 13325 | | |
13327 | 13326 | | |
13328 | 13327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
0 commit comments