[clang] [libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 14 04:16:50 PDT 2024
================
@@ -2327,6 +2327,25 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID,
}
case Builtin::BI__builtin_launder:
return SemaBuiltinLaunder(*this, TheCall);
+ case Builtin::BI__builtin_clear_padding: {
+ const Expr *PtrArg = TheCall->getArg(0)->IgnoreParenImpCasts();
----------------
huixie90 wrote:
removed
https://github.com/llvm/llvm-project/pull/75371
More information about the cfe-commits
mailing list