[PATCH] D148730: [C11] Allow initialization of an atomic-qualified pointer from a null pointer constant
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 19 11:08:26 PDT 2023
erichkeane added inline comments.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:10307
CXXCastPath Path;
CheckPointerConversion(RHS.get(), LHSType, Kind, Path,
/*IgnoreBaseAccess=*/false, Diagnose);
----------------
Does the LHSType here need switching too? Or are we just going to use the 'normal' pointer conversion rules here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148730/new/
https://reviews.llvm.org/D148730
More information about the cfe-commits
mailing list