[libcxx-commits] [clang] [libcxx] [clang] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)
James Y Knight via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 26 08:04:48 PST 2025
================
@@ -970,6 +970,12 @@ def IsWithinLifetime : LangBuiltin<"CXX_LANG"> {
let Prototype = "bool(void*)";
}
+def ClearPadding : LangBuiltin<"CXX_LANG"> {
----------------
jyknight wrote:
I think we should expose this in C mode as well. Did you have any particular implementation-reason to restrict to C++?
https://github.com/llvm/llvm-project/pull/75371
More information about the libcxx-commits
mailing list