<div dir="ltr"><div dir="ltr">On Mon, Oct 11, 2021 at 6:58 AM Max Schrötter via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I am interested in using the misc-definitions-in-headers for C<br>
projects. I've noticed that checker works flawlessly for C++ projects<br>
but not for C Code. <br>
<br>
Is this intentional, because it's technically allowed in C and the OCR<br>
exist only in the C++ Standard?<br>
<br>
If so is there a way to use this checker anyway for C Projects? (via<br>
Commandline Overrides)?<br>
<br>
If not would an option for the checker that modifies the "LangOptions"<br>
ever be mainlined?<br></blockquote><div><br>I don't work on the tooling, but sounds pretty feasible to me.</div></div></div>