Commit 121c41a
Cameron McInally
Rework ParseMPreferVectorWidthOption(...) to return the Value StringRef.
This patch reworks ParseMPreferVectorWidthOption(...) to only return the Value
StringRef. It will now be the responsibility of the caller to handle the Value
appropriately. This allows more flexibily and makes
ParseMPreferVectorWidthOption(...) useful in different contexts.
Also, add a docstring for this function.1 parent ef34cdf commit 121c41a
File tree
4 files changed
+16
-20
lines changed- clang
- include/clang/Driver
- lib/Driver/ToolChains
- flang/lib/Frontend
4 files changed
+16
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7586 | 7586 | | |
7587 | 7587 | | |
7588 | 7588 | | |
7589 | | - | |
7590 | | - | |
| 7589 | + | |
| 7590 | + | |
| 7591 | + | |
| 7592 | + | |
7591 | 7593 | | |
7592 | 7594 | | |
7593 | 7595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3168 | 3168 | | |
3169 | 3169 | | |
3170 | 3170 | | |
3171 | | - | |
3172 | | - | |
3173 | | - | |
3174 | | - | |
3175 | | - | |
3176 | | - | |
3177 | | - | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
| 3174 | + | |
3178 | 3175 | | |
3179 | 3176 | | |
3180 | | - | |
| 3177 | + | |
3181 | 3178 | | |
3182 | 3179 | | |
3183 | 3180 | | |
| |||
3187 | 3184 | | |
3188 | 3185 | | |
3189 | 3186 | | |
3190 | | - | |
| 3187 | + | |
3191 | 3188 | | |
3192 | 3189 | | |
3193 | | - | |
3194 | 3190 | | |
3195 | 3191 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
| 313 | + | |
| 314 | + | |
318 | 315 | | |
319 | 316 | | |
320 | 317 | | |
| |||
0 commit comments