We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1d6661 + 7e5d5ee commit 6a73b82Copy full SHA for 6a73b82
clang/lib/Tooling/Tooling.cpp
@@ -105,7 +105,7 @@ static const llvm::opt::ArgStringList *getCC1Arguments(
105
// tooling will consider host-compilation only. For tooling on device
106
// compilation, device compilation only option, such as
107
// `--cuda-device-only`, needs specifying.
108
- assert(Actions.size() == 2);
+ assert(Actions.size() > 1);
109
assert(
110
isa<driver::CompileJobAction>(Actions.front()) ||
111
// On MacOSX real actions may end up being wrapped in
0 commit comments