[libcxx-commits] [clang] [libcxx] [clang] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 1 13:53:52 PST 2026


================
@@ -970,6 +970,12 @@ def IsWithinLifetime : LangBuiltin<"CXX_LANG"> {
   let Prototype = "bool(void*)";
 }
 
+def ClearPadding : LangBuiltin<"CXX_LANG"> {
----------------
huixie90 wrote:

Thanks for pointing out. yes updating it to support C as well

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


More information about the libcxx-commits mailing list