Commit eae3b2a
committed
[clang][cli] Fix round-trip of OPT_plugin_arg
The test Frontend/plugin-delayed-template.cpp is failing when asserts
are enabled because it hits an assertion in denormalizeStringImpl when
trying to round-trip OPT_plugin_arg. Fix this by adjusting how the
option is handled, as the first part is joined to -plugin-arg and the
second is separate.
Differential Revision: https://reviews.llvm.org/D996061 parent 7004311 commit eae3b2a
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| |||
2477 | 2478 | | |
2478 | 2479 | | |
2479 | 2480 | | |
2480 | | - | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
2481 | 2485 | | |
2482 | | - | |
| 2486 | + | |
| 2487 | + | |
2483 | 2488 | | |
2484 | 2489 | | |
2485 | 2490 | | |
| |||
0 commit comments