[clang] [clang] Introduce '-fint64-is-long-long' (PR #234780)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 28 08:47:41 PDT 2026


================
@@ -4587,6 +4587,11 @@ defm short_enums : BoolFOption<"short-enums",
           "Allocate to an enum type only as many bytes as it"
            " needs for the declared range of possible values">,
   NegFlag<SetFalse>>;
+defm int64_is_long_long : BoolFOption<"int64-is-long-long",
+  LangOpts<"Int64LongLong">, DefaultFalse,
+  PosFlag<SetTrue, [], [ClangOption, CC1Option],
+          "Force type of int64_t to be long long">,
----------------
AaronBallman wrote:

```suggestion
          "Force type of int64_t to be long long; only allowed when long long is 64-bits for the target">,
```

https://github.com/llvm/llvm-project/pull/234780


More information about the cfe-commits mailing list