[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 07:36:14 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG12fee64daf57: [CUDA][NFC] Fix wrong assert information (authored by benshi001).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109232/new/

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.370581.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210903/0393d053/attachment.bin>


More information about the cfe-commits mailing list