diff options
Diffstat (limited to 'llvm/include/llvm/MC/SubtargetFeature.h')
-rw-r--r-- | llvm/include/llvm/MC/SubtargetFeature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/MC/SubtargetFeature.h b/llvm/include/llvm/MC/SubtargetFeature.h index defbc3c64720..01ea794a4bc3 100644 --- a/llvm/include/llvm/MC/SubtargetFeature.h +++ b/llvm/include/llvm/MC/SubtargetFeature.h @@ -214,7 +214,7 @@ public: } /// Return string stripped of flag. - static std::string StripFlag(StringRef Feature) { + static StringRef StripFlag(StringRef Feature) { return hasFlag(Feature) ? Feature.substr(1) : Feature; } |