summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/ToolChains.cpp')
-rw-r--r--clang/lib/Driver/ToolChains.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index d4102234df6..3dd9979a785 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/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<StringRef, 4> CudaPathCandidates;
+ SmallVector<std::string, 4> CudaPathCandidates;
if (Args.hasArg(options::OPT_cuda_path_EQ))
CudaPathCandidates.push_back(
OpenPOWER on IntegriCloud