]> granicus.if.org Git - clang/commitdiff
cuda-path: StringRef cannot be used here.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 24 Sep 2015 03:15:44 +0000 (03:15 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 24 Sep 2015 03:15:44 +0000 (03:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248459 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index d4102234df69272cfcd78e77572950a7067bdd26..3dd9979a78549d0d43af8efcc370fa16c8d92ee5 100644 (file)
@@ -1487,7 +1487,7 @@ void
 Generic_GCC::CudaInstallationDetector::init(const Driver &D,
                                             const llvm::Triple &TargetTriple,
                                             const llvm::opt::ArgList &Args) {
-  SmallVector<StringRef, 4> CudaPathCandidates;
+  SmallVector<std::string, 4> CudaPathCandidates;
 
   if (Args.hasArg(options::OPT_cuda_path_EQ))
     CudaPathCandidates.push_back(