Diagnostics from modules do not have a main-file listed. Tweak
clang-parse-diagnostics-file to patch this up. Previously, the call
to os.path.basename would crash.
Radar-Id: rdar://problem/59000292
Differential D77321
utils: Tweak clang-parse-diagnostics-file for modules includes dexonsmith on Apr 2 2020, 10:30 AM. Authored by
Details
Diagnostics from modules do not have a main-file listed. Tweak Radar-Id: rdar://problem/59000292
Diff Detail Event TimelineComment Actions LGTM. Looks like we don't have tests for this script, it would be nice to add some in the future, but that shouldn't block this. Comment Actions 0c85c488e2b5be54ce26c9f772e66d48a9290c51
Yeah, we're missing tests for most of llvm/utils it seems. |