From: Sam McCall Date: Wed, 29 May 2019 15:02:16 +0000 (+0000) Subject: Qualify use of llvm::empty that's ambiguous with std::empty X-Git-Tag: android-x86-9.0-r1~2782 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=249a80e7e61a50e3ea13b3bd2f613cfc01cdfce9;p=android-x86%2Fexternal-llvm.git Qualify use of llvm::empty that's ambiguous with std::empty git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361968 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index 8e03b59607d..aadcd731979 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -209,7 +209,7 @@ bool MachineModuleInfo::doInitialization(Module &M) { HasSplitStack = HasNosplitStack = false; AddrLabelSymbols = nullptr; TheModule = &M; - DbgInfoAvailable = !empty(M.debug_compile_units()); + DbgInfoAvailable = !llvm::empty(M.debug_compile_units()); return false; }