[llvm-branch-commits] [clang] [Clang] Introduce -fsanitize=alloc-token (PR #156839)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 22 10:08:17 PDT 2025


================
@@ -447,6 +447,9 @@ class CodeGenOptions : public CodeGenOptionsBase {
 
   std::optional<double> AllowRuntimeCheckSkipHotCutoff;
 
+  /// Maximum number of allocation tokens (0 = no max).
----------------
vitalybuka wrote:

what is nullopt then?

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


More information about the llvm-branch-commits mailing list