diff options
Diffstat (limited to 'llvm/lib/TargetParser/RISCVISAInfo.cpp')
-rw-r--r-- | llvm/lib/TargetParser/RISCVISAInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TargetParser/RISCVISAInfo.cpp b/llvm/lib/TargetParser/RISCVISAInfo.cpp index 35bfc31..739a364 100644 --- a/llvm/lib/TargetParser/RISCVISAInfo.cpp +++ b/llvm/lib/TargetParser/RISCVISAInfo.cpp @@ -287,7 +287,7 @@ std::vector<std::string> RISCVISAInfo::toFeatures(bool AddAllExtensions, return Features; } -static Error getStringErrorForInvalidExt(std::string_view ExtName) { +static Error getStringErrorForInvalidExt(StringRef ExtName) { if (ExtName.size() == 1) { return createStringError(errc::invalid_argument, "unsupported standard user-level extension '" + |