[llvm] r361968 - Qualify use of llvm::empty that's ambiguous with std::empty
Sam McCall via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 08:02:16 PDT 2019
Author: sammccall
Date: Wed May 29 08:02:16 2019
New Revision: 361968
URL: http://llvm.org/viewvc/llvm-project?rev=361968&view=rev
Log:
Qualify use of llvm::empty that's ambiguous with std::empty
Modified:
llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp
Modified: llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp?rev=361968&r1=361967&r2=361968&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp Wed May 29 08:02:16 2019
@@ -209,7 +209,7 @@ bool MachineModuleInfo::doInitialization
HasSplitStack = HasNosplitStack = false;
AddrLabelSymbols = nullptr;
TheModule = &M;
- DbgInfoAvailable = !empty(M.debug_compile_units());
+ DbgInfoAvailable = !llvm::empty(M.debug_compile_units());
return false;
}
More information about the llvm-commits
mailing list