[cfe-dev] C++23 P0330

Richard Smith via cfe-dev cfe-dev at lists.llvm.org
Tue Feb 9 10:37:00 PST 2021


On Thu, 4 Feb 2021 at 10:29, Adalid Claure via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hello,
>
> I was inspired by a recent tweet that said the C++23 feature of adding
> size_t suffixes was checked into gcc. I have never worked on the clang code
> base, much less tried to implement a feature, but I figured since the scope
> of this feature was relatively small, it might be a good place to start.
>
> Attached is my initial patch.
>
> I am looking for some guidance as to what kind of unit tests and other
> considerations would be required before this patch could be accepted.
>
> Any feedback would be greatly appreciated.
>

'size_t' isn't necessarily 'unsigned long'; I think we'll need a flag
separate from 'isLong' to track whether 'z' was present.


> Thank you!
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210209/d5d911b5/attachment.html>


More information about the cfe-dev mailing list