RFR: 7903783: Jextract should tolerate more CPP constructs when running with xc++
Jorn Vernee
jvernee at openjdk.org
Tue Sep 10 20:09:18 UTC 2024
On Tue, 10 Sep 2024 17:57:56 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Why is `StaticAssert` here as well?
>
> `StaticAssert` came from the code that was there before. The comment in the jextract code says:
>
> But libclang maps both C11's _Static_assert
> * and C++11's static_assert to same CursorKind
>
>
> So I just preserved what the code was already doing here.
Ah, I see. Missed that!
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/256#discussion_r1752659780
More information about the jextract-dev
mailing list