sandboxed-api/sandboxed_api/tools/generator2
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
..
testdata Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
build_test.sh Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
BUILD.bazel Internal Code Change 2023-07-12 22:13:27 -07:00
code_test_util.py Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
code_test.py generator2: Skip anonymous structs/unions 2023-08-15 05:20:47 -07:00
code.py generator2: Skip anonymous structs/unions 2023-08-15 05:20:47 -07:00
sapi_generator.py Update Google dependencies 2023-06-09 03:22:00 -07:00