summaryrefslogtreecommitdiff
path: root/lldb/source/Target/Language.cpp
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2025-07-30 17:10:23 +0100
committerJessica Clarke <jrtc27@jrtc27.com>2025-07-30 17:10:23 +0100
commit0f0fcf7265e3401b7b5512113d5698bd003ede58 (patch)
treea3fdc772e90ae096889e36341c4cb61ef57c8c64 /lldb/source/Target/Language.cpp
parent75fb98cf90dbb7b667ddaf9d0314b9c452d1045f (diff)
parent52ddcfd8d6c078b3e5ae3c230eea67a466d64f0f (diff)
[𝘀𝗽𝗿] changes introduced through rebaseusers/jrtc27/spr/main.elfmips-fix-addend-for-preemptible-static-tls
Created using spr 1.3.5 [skip ci]
Diffstat (limited to 'lldb/source/Target/Language.cpp')
-rw-r--r--lldb/source/Target/Language.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Language.cpp b/lldb/source/Target/Language.cpp
index 86754c251cd9..484d9badde39 100644
--- a/lldb/source/Target/Language.cpp
+++ b/lldb/source/Target/Language.cpp
@@ -257,7 +257,7 @@ static uint32_t num_languages =
LanguageType Language::GetLanguageTypeFromString(llvm::StringRef string) {
for (const auto &L : language_names) {
if (string.equals_insensitive(L.name))
- return static_cast<LanguageType>(L.type);
+ return L.type;
}
return eLanguageTypeUnknown;