They do get printed with the LLVM formatter: -diagnostic-style llvm
. But I think such tools should instead rely on -serialize-diagnostics-path
(frontend flag) or -emit-module-serialize-diagnostics-path
. Plus -print-diagnostic-groups
(currently a hidden frontend flag) to filter out relevant diagnostics until we serialize the group.
2 Likes