summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-stress/llvm-stress.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-10-01 03:43:20 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-10-01 03:43:20 +0000
commite11b745b666396a503c8638991d75691c60490dd (patch)
tree9c2773ee503061b8c9091f17da0fb1a126d8cf5e /llvm/tools/llvm-stress/llvm-stress.cpp
parent57f3529ab77e472c7f4c70b255ab70faed1316ad (diff)
downloadbcm5719-llvm-e11b745b666396a503c8638991d75691c60490dd.tar.gz
bcm5719-llvm-e11b745b666396a503c8638991d75691c60490dd.zip
Use StringRef in CommandLine Options handling (NFC)
llvm-svn: 283007
Diffstat (limited to 'llvm/tools/llvm-stress/llvm-stress.cpp')
-rw-r--r--llvm/tools/llvm-stress/llvm-stress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-stress/llvm-stress.cpp b/llvm/tools/llvm-stress/llvm-stress.cpp
index 0b887ea9b4c..731a24d0ac2 100644
--- a/llvm/tools/llvm-stress/llvm-stress.cpp
+++ b/llvm/tools/llvm-stress/llvm-stress.cpp
@@ -67,7 +67,7 @@ public:
return false;
}
- const char *getValueName() const override { return "IR scalar type"; }
+ StringRef getValueName() const override { return "IR scalar type"; }
};
}
OpenPOWER on IntegriCloud