JuliaInterop / Clang.jl

C binding generator and Julia interface to libclang
https://juliainterop.github.io/Clang.jl/
MIT License
219 stars 68 forks source link

Bug fix in output_ignorelist #403

Closed pazner closed 1 year ago

pazner commented 1 year ago

With the current behavior, a node is skipped if its id contains the regex listed in output_ignorelist. For example, in this header file:

typedef int ThisIsALongNameWithXSomewhereInIt;
typedef int X;

if output_ignorelist contains "X", then neither symbol will be output.

Instead, it should be checked that the entire id matches the regex (and if the other behavior is desired, this can be accomplished with explicit wildcards, ".*X.*").

Gnimuc commented 1 year ago

Thanks!