[llvm-branch-commits] [Clang] Implement constexpr evaluation for __builtin_infer_alloc_token() (PR #163639)
Timm Baeder via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Oct 15 21:53:34 PDT 2025
================
@@ -1306,6 +1308,44 @@ interp__builtin_ptrauth_string_discriminator(InterpState &S, CodePtr OpPC,
return true;
}
+static bool interp__builtin_infer_alloc_token(InterpState &S, CodePtr OpPC,
+ const InterpFrame *Frame,
+ const CallExpr *Call) {
+ const ASTContext &Ctx = S.getASTContext();
----------------
tbaederr wrote:
```suggestion
const ASTContext &ASTCtx = S.getASTContext();
```
https://github.com/llvm/llvm-project/pull/163639
More information about the llvm-branch-commits
mailing list