[all-commits] [llvm/llvm-project] ce8c59: Reapply multiple "[clang][cli]" patches
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Jan 6 04:40:39 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce8c59e6af487f0b8786ae921aa926341f0ae04f
https://github.com/llvm/llvm-project/commit/ce8c59e6af487f0b8786ae921aa926341f0ae04f
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2021-01-06 (Wed, 06 Jan 2021)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/Profile/c-generate.c
M clang/unittests/Frontend/CompilerInvocationTest.cpp
M llvm/include/llvm/Option/OptParser.td
Log Message:
-----------
Reapply multiple "[clang][cli]" patches
This reverts 7ad666798f12 and 1876a2914fe0 that reverted:
741978d727a4 [clang][cli] Port CodeGen option flags to new option parsing system
383778e2171b [clang][cli] Port LangOpts option flags to new option parsing system
aec2991d083a [clang][cli] Port LangOpts simple string based options to new option parsing system
95d3cc67caac [clang][cli] Port CodeGenOpts simple string flags to new option parsing system
27b7d646886d [clang][cli] Streamline MarshallingInfoFlag description
70410a264949 [clang][cli] Let denormalizer decide how to render the option based on the option class
63a24816f561 [clang][cli] Implement `getAllArgValues` marshalling
Commit 741978d727a4 accidentally changed the `Group` attribute of `g[no_]column_info` options from `g_flags_Group` to `g_Group`, which changed the debug info options passed to cc1 by the driver.
Similar change was also present in 383778e2171b, which accidentally added `Group<f_Group>` to `f[no_]const_strings` and `f[no_]signed_wchar`.
This patch corrects all three accidental changes by replacing `Bool{G,F}Option` with `BoolCC1Option`.
More information about the All-commits
mailing list