[all-commits] [llvm/llvm-project] d78393: [clang-scan-deps] Fix check for empty `Compilation...

Yaraslau via All-commits all-commits at lists.llvm.org
Tue Jan 30 17:55:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d783933bc910ac005e18928d22b6c10c4fe8d6f6
      https://github.com/llvm/llvm-project/commit/d783933bc910ac005e18928d22b6c10c4fe8d6f6
  Author: Yaraslau <yaraslau.tamashevich at gmail.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    A clang/test/ClangScanDeps/empty.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Fix check for empty `Compilation` (#75545)

Closes https://github.com/llvm/llvm-project/issues/64144

Instead of checking for `nullptr` we need to ensure that `JobList` is
not empty to proceed




More information about the All-commits mailing list