<div><div><div dir="auto">Do you plan to also support things that aren’t implementation limits but give warnings under -Wpedantic? For example the length of a string literal in LiteralSupport.cpp. It checks for something like 509 for C, 4095 for C99 or 65536 for C++.</div></div></div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 4, 2020 at 10:46 AM Mark de Wever via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jan 01, 2020 at 05:16:33PM +0100, Mark de Wever via cfe-dev wrote:<br>
> This RFC asks the community for its interest in centralizing Clang's<br>
> implementation limits and how you feel about the proposed approach.<br>
<br>
Thanks for all the feedback!<br>
<br>
Based on the feedback given, I've updated the proof-of-concept [D72053].<br>
<br>
Added support for some additional features:<br>
 * Allow limits from the C standard, either sharing the C++ constants or<br>
   separately.<br>
 * Allow to document the design choices for the limit.<br>
 * Allow to track the status of the limit. (This may become obsolete ones all<br>
   limits are implemented, but that can take a while.)<br>
<br>
Added some additional fields to test the C support.<br>
<br>
Removed the .inc file from the patch, this should not be committed.<br>
<br>
Does Objective-C also have limits which should be added?<br>
<br>
<br>
[D72053] <a href="https://reviews.llvm.org/D72053" rel="noreferrer" target="_blank">https://reviews.llvm.org/D72053</a><br>
<br>
-Mark<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>
</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">~Craig</div>