https://github.com/ojhunt created https://github.com/llvm/llvm-project/pull/93984
Minor correction to match current API >From 0262fdfddf50853d2f40ea86c37877168ad070a8 Mon Sep 17 00:00:00 2001 From: Oliver Hunt <4691426+ojh...@users.noreply.github.com> Date: Fri, 31 May 2024 09:36:32 -0700 Subject: [PATCH] [clang] Update use of checkUInt32Argument to match on main Minor correction to match current API --- clang/lib/Sema/SemaDeclAttr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 82c4a3c866458..e9a867ff67ba1 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -9246,7 +9246,7 @@ static void handleVTablePointerAuthentication(Sema &S, Decl *D, AL.setInvalid(); } - if (!AL.isArgExpr(3) || !S.checkUInt32Argument(AL, AL.getArgAsExpr(3), + if (!AL.isArgExpr(3) || !checkUInt32Argument(S, AL, AL.getArgAsExpr(3), customDiscriminationValue)) { S.Diag(AL.getLoc(), diag::err_invalid_custom_discrimination); AL.setInvalid(); _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits