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-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f09d9fcfa2839d0a02d7d5c8402380d91d6caca;p=platform%2Fupstream%2Fllvm.git Qualify use of llvm::empty that's ambiguous with std::empty llvm-svn: 361968 --- diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 8e03b59..aadcd73 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/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; }