Keep track of -fansi-escape-codes in DiagnosticOptions and move the option to the new option parsing system.
Depends on D82860
Paths
| Differential D82874
Add diagnostic option backing field for -fansi-escape-codes ClosedPublic Authored by dang on Jun 30 2020, 6:26 AM.
Details Summary Keep track of -fansi-escape-codes in DiagnosticOptions and move the option to the new option parsing system. Depends on D82860
Diff Detail
Event TimelineComment Actions lgtm with the fix I mentioned.
This revision is now accepted and ready to land.Jun 30 2020, 10:50 AM dang added a child revision: D83071: Add support for options with two flags for controlling the same field..Jul 7 2020, 10:38 AM Closed by commit rG50f24331fd91: Add diagnostic option backing field for -fansi-escape-codes (authored by dang). · Explain WhyJul 9 2020, 11:28 PM This revision was automatically updated to reflect the committed changes. dang removed a parent revision: D82860: Port ObjCMTAction to new option parsing system.Jul 9 2020, 11:28 PM dang removed a child revision: D83071: Add support for options with two flags for controlling the same field..Jul 27 2020, 10:22 AM
Revision Contents
Diff 276920 clang/include/clang/Basic/DiagnosticOptions.def
clang/include/clang/Driver/Options.td
clang/lib/Frontend/CompilerInvocation.cpp
|
This should probably be moved out so that this function only parses args and doesn't modify outside state.