Files
clang-p2996/clang/test/ClangScanDeps/empty.cpp
Yaraslau d783933bc9 [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
2024-01-31 09:55:05 +08:00

5 lines
248 B
C++

// RUN: rm -rf %t
// RUN: not clang-scan-deps --format=p1689 -- %clang this-file-does-not-exist.cpp 2>&1 | FileCheck %s --check-prefix=CHECK
// CHECK: error: no such file or directory: 'this-file-does-not-exist.cpp'
// CHECK: error: no input files