[clang] [Clang] Rework LTO mode selection to be a Toolchain property (PR #201155)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 11:54:54 PDT 2026
================
@@ -55,12 +55,7 @@ class JobAction;
class ToolChain;
/// Describes the kind of LTO mode selected via -f(no-)?lto(=.*)? options.
-enum LTOKind {
- LTOK_None,
- LTOK_Full,
- LTOK_Thin,
- LTOK_Unknown
-};
+enum LTOKind : int { LTOK_None, LTOK_Full, LTOK_Thin, LTOK_Unknown };
----------------
jhuber6 wrote:
Figured this was less delta in the PR, I was going to do some more cleanups in the future but wanted this to be as NFC as possible.
https://github.com/llvm/llvm-project/pull/201155
More information about the cfe-commits
mailing list