-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request
Description
Description of the feature request:
Allow (probably via a feature) the ability for C/C++/Obj-C files to generate clang serialized diagnostics files (--serialized-diagnostics) for each source file. The file should be handled similar to the .d file, and be a declared dependency.
What underlying problem are you trying to solve with this feature?
I have an IDE integration (Xcode) use case where I want --serialized-diagnostics source_file.dia to be applied to each C/C++/Obj-C compilation, as the IDE consumes this file to report warnings, errors, notes, remarks and fix-its. These files need to be fetched from cache as well, so they need to be a declared output.
Which operating system are you running Bazel on?
macOS
What is the output of bazel info release?
release 5.1.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
I'm willing to contribute this change, if it will be accepted.
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request