================ @@ -7885,6 +7885,18 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange, if ((IsOpenCL || IsHIP || IsScoped) && Op != AtomicExpr::AO__opencl_atomic_init) ++AdjustedNumArgs; + + // Verify if the arguments are of type CompleteType ---------------- erichkeane wrote:
When doing so, please see if you can 'extract' this to a function, something like; `RequireAtomicArgs(Args)` kind of thing. https://github.com/llvm/llvm-project/pull/75135 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits