yaxunl marked an inline comment as done.
yaxunl added inline comments.

================
Comment at: clang/lib/Basic/Cuda.cpp:95
 const char *CudaArchToString(CudaArch A) {
+  if (A == CudaArch::UNUSED)
+    return "";
----------------
tra wrote:
> You could add a `{CudaArch::UNUSED, "", ""}` to the table above instead of 
> explicit checks here.
will do when committing


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

https://reviews.llvm.org/D88524

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to