Among other problems, this causes translate-c warnings to be detected as failures by the build system, such as:
warning: TODO: implement 'visibility' attribute for functions [-Wattribute-todo]
Instead, it should follow a similar code path as CObject.Diag.Bundle.parse in the clang execution logic. This way, warnings can be ignored when doing translate-c and errors can be integrated properly with other Compilation errors during @cImport.
This is a follow-up task from #24497.
Among other problems, this causes translate-c warnings to be detected as failures by the build system, such as:
Instead, it should follow a similar code path as
CObject.Diag.Bundle.parsein the clang execution logic. This way, warnings can be ignored when doing translate-c and errors can be integrated properly with other Compilation errors during@cImport.This is a follow-up task from #24497.