[PATCH] D109232: [CUDA][NFC] Fix a wrong assert message
Ben Shi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 3 06:22:27 PDT 2021
benshi001 created this revision.
benshi001 added reviewers: tra, Hahnfeld, fodinabor, yaxunl.
benshi001 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109232
Files:
clang/lib/Driver/Driver.cpp
Index: clang/lib/Driver/Driver.cpp
===================================================================
--- clang/lib/Driver/Driver.cpp
+++ clang/lib/Driver/Driver.cpp
@@ -2635,7 +2635,7 @@
assert(CudaDeviceActions.size() == GpuArchList.size() &&
"Expecting one action per GPU architecture.");
assert(ToolChains.size() == 1 &&
- "Expecting to have a sing CUDA toolchain.");
+ "Expecting to have a single CUDA toolchain.");
for (unsigned I = 0, E = GpuArchList.size(); I != E; ++I)
AddTopLevel(CudaDeviceActions[I], GpuArchList[I]);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109232.370566.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210903/4e91b0d3/attachment.bin>
More information about the cfe-commits
mailing list