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:
serge-sans-paille
2023-01-09 18:11:07 +01:00
parent 740d2f6b87
commit 984b800a03
181 changed files with 405 additions and 423 deletions

View File

@@ -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);
}