OSDN Git Service

Qualify use of llvm::empty that's ambiguous with std::empty
authorSam McCall <sam.mccall@gmail.com>
Wed, 29 May 2019 15:02:16 +0000 (15:02 +0000)
committerSam McCall <sam.mccall@gmail.com>
Wed, 29 May 2019 15:02:16 +0000 (15:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361968 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineModuleInfo.cpp

index 8e03b59..aadcd73 100644 (file)
@@ -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;
 }