On 7/13/26 12:52 PM, Vladislav Semykin wrote:
 From Jason Merril:
 > We should be able to just pass down the new nonnull parameter and drop
 > the local variable.

 From Marek Polacek:
 > The patch should also use nullptr instead of NULL and document the new
 > parameter.

Done in v2.

Verified with gcc-verify and gcc-style.
Compiled tests with:

make check-c++ RUNTESTFLAGS="dg.exp=cpp0x/pr125886.C" && \
make check-c++ RUNTESTFLAGS="dg.exp=coroutines/unevaluated.C" && \
make check-c++ RUNTESTFLAGS="dg.exp=rtti/*.C" && \
make check-c++ RUNTESTFLAGS="dg.exp=cpp0x/constexpr-typeid*.C" && \
make check-c++ RUNTESTFLAGS="dg.exp=cpp2a/constexpr-typeid*.C" && \
make check-c++ RUNTESTFLAGS="dg.exp=template/typeid*.C"

All green.
Pushed, thanks.

Jason

Reply via email to