From: NAKAMURA Takumi Date: Thu, 24 Sep 2015 03:15:44 +0000 (+0000) Subject: cuda-path: StringRef cannot be used here. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=522fec475b1012e7cc09a649b791ae8f00a40dae;p=clang cuda-path: StringRef cannot be used here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248459 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index d4102234df..3dd9979a78 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -1487,7 +1487,7 @@ void Generic_GCC::CudaInstallationDetector::init(const Driver &D, const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args) { - SmallVector CudaPathCandidates; + SmallVector CudaPathCandidates; if (Args.hasArg(options::OPT_cuda_path_EQ)) CudaPathCandidates.push_back(