aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r--lib/Driver/ToolChains.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 03a01e3402..53a620a87e 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -1646,7 +1646,7 @@ StringRef Hexagon_TC::GetTargetCPU(const ArgList &Args)
// Select the default CPU (v4) if none was given or detection failed.
Arg *A = GetLastHexagonArchArg (Args);
if (A) {
- llvm::StringRef WhichHexagon = A->getValue();
+ StringRef WhichHexagon = A->getValue();
if (WhichHexagon.startswith("hexagon"))
return WhichHexagon.substr(sizeof("hexagon") - 1);
if (WhichHexagon != "")