[all-commits] [llvm/llvm-project] 0c85c4: utils: Tweak clang-parse-diagnostics-file for modu...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Thu Apr 2 14:16:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c85c488e2b5be54ce26c9f772e66d48a9290c51
      https://github.com/llvm/llvm-project/commit/0c85c488e2b5be54ce26c9f772e66d48a9290c51
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M llvm/utils/clang-parse-diagnostics-file

  Log Message:
  -----------
  utils: Tweak clang-parse-diagnostics-file for modules includes

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




More information about the All-commits mailing list