[llvm] 5da1671 - Update empty() call with namespace to clear ambiguity.

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 18:43:28 PDT 2020


Author: Alina Sbirlea
Date: 2020-04-09T18:42:10-07:00
New Revision: 5da1671bf82306b7fa8dca48f495896c2b29e909

URL: https://github.com/llvm/llvm-project/commit/5da1671bf82306b7fa8dca48f495896c2b29e909
DIFF: https://github.com/llvm/llvm-project/commit/5da1671bf82306b7fa8dca48f495896c2b29e909.diff

LOG: Update empty() call with namespace to clear ambiguity.

Added: 
    

Modified: 
    llvm/include/llvm/Support/GenericDomTreeConstruction.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/GenericDomTreeConstruction.h b/llvm/include/llvm/Support/GenericDomTreeConstruction.h
index 2e848358bb5b..1d0dd09e91ce 100644
--- a/llvm/include/llvm/Support/GenericDomTreeConstruction.h
+++ b/llvm/include/llvm/Support/GenericDomTreeConstruction.h
@@ -322,7 +322,7 @@ struct SemiNCAInfo {
     assert(N && "N must be a valid node");
     GraphDiffT EmptyGD;
     auto &GD = BUI ? BUI->PreViewCFG : EmptyGD;
-    return !empty(children<GraphDiffNodePair>({&GD, N}));
+    return !llvm::empty(children<GraphDiffNodePair>({&GD, N}));
   }
 
   static NodePtr GetEntryNode(const DomTreeT &DT) {


        


More information about the llvm-commits mailing list