Move from llvm::makeArrayRef to ArrayRef deduction guides - last part
This is a follow-up to https://reviews.llvm.org/D140896, split into several parts as it touches a lot of files. Differential Revision: https://reviews.llvm.org/D141298
This commit is contained in:
@@ -40,7 +40,7 @@ static constexpr lldb::ScriptLanguage g_supported_script_languages[] = {
|
||||
|
||||
bool ScriptedProcess::IsScriptLanguageSupported(lldb::ScriptLanguage language) {
|
||||
llvm::ArrayRef<lldb::ScriptLanguage> supported_languages =
|
||||
llvm::makeArrayRef(g_supported_script_languages);
|
||||
llvm::ArrayRef(g_supported_script_languages);
|
||||
|
||||
return llvm::is_contained(supported_languages, language);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user