We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
llvm::empty
1 parent 8ca0143 commit e0c862fCopy full SHA for e0c862f
include/swift/SILOptimizer/Analysis/ClosureScope.h
@@ -173,7 +173,7 @@ class ClosureFunctionOrder {
173
174
ArrayRef<SILFunction *> getTopDownFunctions() const {
175
assert(!topDownFunctions.empty()
176
- || llvm::empty(csa->getModule()->getFunctions()));
+ || csa->getModule()->getFunctions().empty());
177
return topDownFunctions;
178
}
179
lib/AST/Attr.cpp
@@ -689,7 +689,7 @@ static void printDifferentiableAttrArguments(
689
return false;
690
return true;
691
});
692
- if (!llvm::empty(requirementsToPrint)) {
+ if (!requirementsToPrint.empty()) {
693
if (!isLeadingClause)
694
stream << ' ';
695
stream << "where ";
0 commit comments