<div dir="ltr">While I don't quite follow your question - you might be interested in this change I'm working on (well, taken a bit of a break, but will be coming back to): <a href="https://reviews.llvm.org/D41357">https://reviews.llvm.org/D41357</a> <br><br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 1, 2018 at 12:10 PM Roman Popov via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">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"><div dir="ltr">Hello,<div>I want to create a fixed sets of IDs for error messages in Clang tool. So I can put them into tool documentation.</div><div><br></div><div>Is it possible to somehow assign a fixed ID for diagnostic? DiagnosticEngine::getCustomDiagID() generates ID automatically, so I have no control on IDs.</div><div><br></div><div>Should I probably instantiate my own <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">DiagnosticEngine instead of using one from AstContext ?</span></div><div><br></div><div>Thanks,</div><div>Roman</div></div>
_______________________________________________<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="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>