[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:42 PDT 2026


================
@@ -383,6 +383,10 @@ documentation](CIR/index.md) for more information regarding ClangIR's status and
   {doc}`Return Address Authentication Hardening <ReturnAddressAuthenticationHardening>`
   for more information.
 
+- Added `-fint64-is-long-long`, which forces `int64_t` to be `long long`. This
+  can be helpful for projects with freestanding environments that define this
+  type differently from the default of the target triple.
----------------
AaronBallman wrote:

```suggestion
  type differently from the default of the target triple. This option is only supported
  for targets where `long long` is exactly 64-bits wide.
```

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


More information about the cfe-commits mailing list