Skip to content

Commit 6a73b82

Browse files
author
git apple-llvm automerger
committed
Merge commit '7e5d5ee873e1' from llvm.org/master into apple/master
2 parents c1d6661 + 7e5d5ee commit 6a73b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Tooling/Tooling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static const llvm::opt::ArgStringList *getCC1Arguments(
105105
// tooling will consider host-compilation only. For tooling on device
106106
// compilation, device compilation only option, such as
107107
// `--cuda-device-only`, needs specifying.
108-
assert(Actions.size() == 2);
108+
assert(Actions.size() > 1);
109109
assert(
110110
isa<driver::CompileJobAction>(Actions.front()) ||
111111
// On MacOSX real actions may end up being wrapped in

0 commit comments

Comments
 (0)