tra added inline comments.

================
Comment at: lib/Driver/ToolChains/Cuda.cpp:81
+
+    if (Distro.IsDebian())
+      CudaPathCandidates.push_back(D.SysRoot + "/usr/lib/cuda");
----------------
No need for a named temporary. `if (Distro(D.getVFS).IsDebian())` should do.

Also, please add a comment describing why Debian needs a special case here and 
include reference to the bug report which has the details.



https://reviews.llvm.org/D40453



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

Reply via email to