diff options
-rw-r--r-- | lib/Tooling/Tooling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tooling/Tooling.cpp b/lib/Tooling/Tooling.cpp index 60d4dce0cb..1d6a968331 100644 --- a/lib/Tooling/Tooling.cpp +++ b/lib/Tooling/Tooling.cpp @@ -105,7 +105,7 @@ static const llvm::opt::ArgStringList *getCC1Arguments( // tooling will consider host-compilation only. For tooling on device // compilation, device compilation only option, such as // `--cuda-device-only`, needs specifying. - assert(Actions.size() == 2); + assert(Actions.size() > 1); assert( isa<driver::CompileJobAction>(Actions.front()) || // On MacOSX real actions may end up being wrapped in |