diff options
| author | Marco Elver <elver@google.com> | 2025-10-22 14:58:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 14:58:06 +0200 |
| commit | f7fb52aea0b90a2fa76f162e8cbd481c5e1bd91b (patch) | |
| tree | ffe364234b4aad697dc88bb032a327c33495f589 /llvm/lib/CodeGen/CodeGen.cpp | |
| parent | c636a39e33594f493e3a4e831ddee952cd9b5cb6 (diff) | |
| download | llvm-f7fb52aea0b90a2fa76f162e8cbd481c5e1bd91b.zip llvm-f7fb52aea0b90a2fa76f162e8cbd481c5e1bd91b.tar.gz llvm-f7fb52aea0b90a2fa76f162e8cbd481c5e1bd91b.tar.bz2 | |
[Clang] Move AllocToken frontend options to LangOptions (#163635)
Move the `AllocTokenMax` from `CodeGenOptions` and introduces a new
`AllocTokenMode` to `LangOptions`. Note, `-falloc-token-mode=`
deliberately remains an internal experimental option.
This refactoring is necessary because these options influence frontend
behavior, specifically constexpr evaluation of `__builtin_infer_alloc_token`.
Placing them in `LangOptions` makes them accessible during semantic analysis,
which occurs before codegen.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
