mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Use !empty() over size() > 0
This commit is contained in:
@@ -2855,7 +2855,7 @@ public:
|
||||
|
||||
// Add the argument labels.
|
||||
auto ArgLabels = AFD->getFullName().getArgumentNames();
|
||||
if (ArgLabels.size() > 0) {
|
||||
if (!ArgLabels.empty()) {
|
||||
if (!HaveLParen)
|
||||
Builder.addLeftParen();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user