chapuni added a subscriber: chapuni. ================ Comment at: cfe/trunk/lib/Driver/ToolChains.cpp:1492 @@ +1491,3 @@ + const llvm::opt::ArgList &Args) { + SmallVector<StringRef, 4> CudaPathCandidates; + ---------------- Fixed in r248459.
================ Comment at: cfe/trunk/lib/Driver/ToolChains.cpp:1498 @@ +1497,3 @@ + else { + CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda"); + CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-7.0"); ---------------- You were trying to make StringRef from temporary string concatenator. Repository: rL LLVM http://reviews.llvm.org/D12989 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits