sandboxed-api/sandboxed_api/tools
Christian Blichmann ae3d334cc2 generator2: Skip anonymous structs/unions
The Python code has been relying on `spelling` to return `None` for skipping
anonymous structs/unions.

libclang has been returning a "spelling" for those for a while now (LLVM 16
introduced this in its branch in 2022), though, so this check no longer works.
Use the correct method `clang.CIndex.is_anonymous()` instead.

PiperOrigin-RevId: 557099905
Change-Id: I13707509dbae03481c5edce7fa92554cefdd57e7
2023-08-15 05:20:47 -07:00
..
clang_generator Clang tool: Emit aggregates with default initialized members 2023-08-14 06:14:43 -07:00
filewrapper Mostly internal change: Optimize OSS transforms 2023-06-07 02:23:18 -07:00
generator2 generator2: Skip anonymous structs/unions 2023-08-15 05:20:47 -07:00