From: Jan Svoboda Date: Tue, 30 May 2023 21:08:04 +0000 (-0700) Subject: [lldb] Fix build after Clang API change X-Git-Tag: upstream/17.0.6~6766 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e348dbc4b2766f17c251b6c305a3b34fbdb9be96;p=platform%2Fupstream%2Fllvm.git [lldb] Fix build after Clang API change This fixes breakage introduced by 769d282d. --- diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp index 98c1b1a..7895fc6 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp @@ -333,7 +333,7 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module, HS.getFileMgr().getDirectory(module.search_path.GetStringRef()); if (!dir) return error(); - auto *file = HS.lookupModuleMapFile(*dir, is_framework); + auto file = HS.lookupModuleMapFile(*dir, is_framework); if (!file) return error(); if (!HS.loadModuleMapFile(file, is_system))