[llvm-branch-commits] [llvm] [AllocToken, Clang] Implement __builtin_infer_alloc_token() and llvm.alloc.token.id (PR #156842)

Marco Elver via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 18 02:53:02 PDT 2025


================
@@ -5760,6 +5764,24 @@ bool Sema::BuiltinAllocaWithAlign(CallExpr *TheCall) {
   return false;
 }
 
+bool Sema::BuiltinAllocTokenInfer(CallExpr *TheCall) {
----------------
melver wrote:

I'm indifferent here. Switching to a static function.

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


More information about the llvm-branch-commits mailing list