aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-10-22 14:58:06 +0200
committerGitHub <noreply@github.com>2025-10-22 14:58:06 +0200
commitf7fb52aea0b90a2fa76f162e8cbd481c5e1bd91b (patch)
treeffe364234b4aad697dc88bb032a327c33495f589 /llvm/lib/CodeGen/CodeGen.cpp
parentc636a39e33594f493e3a4e831ddee952cd9b5cb6 (diff)
downloadllvm-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