aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/MC/SubtargetFeature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/SubtargetFeature.h b/include/llvm/MC/SubtargetFeature.h
index ff726ecab6..fccff03126 100644
--- a/include/llvm/MC/SubtargetFeature.h
+++ b/include/llvm/MC/SubtargetFeature.h
@@ -77,7 +77,7 @@ public:
explicit SubtargetFeatures(const StringRef Initial = "");
/// Features string accessors.
- StringRef getString() const;
+ std::string getString() const;
/// Adding Features.
void AddFeature(const StringRef String, bool IsEnabled = true);