When generating command lines, use the option spelling generated by TableGen (StringLiteral) instead of constructing it at runtime. This saves some needless allocations.
Depends on D157029.
Paths
| Differential D157054
[clang] NFC: Use compile-time option spelling when generating command line ClosedPublic Authored by jansvoboda11 on Aug 3 2023, 4:06 PM.
Details Summary When generating command lines, use the option spelling generated by TableGen (StringLiteral) instead of constructing it at runtime. This saves some needless allocations. Depends on D157029.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 9 2023, 9:22 AM Closed by commit rGacf57858c1ac: [clang] NFC: Use compile-time option spelling when generating command line (authored by jansvoboda11). · Explain WhyAug 9 2023, 10:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 547040 clang/lib/Frontend/CompilerInvocation.cpp
|