Skip to content

Commit a26fbf3

Browse files
[Sema] Use SmallString::empty (NFC)
1 parent aaa8a80 commit a26fbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3645,7 +3645,7 @@ bool Sema::checkTargetClonesAttrString(
36453645
llvm::sort(CurFeatures);
36463646
SmallString<64> Res;
36473647
for (auto &CurFeat : CurFeatures) {
3648-
if (!Res.equals(""))
3648+
if (!Res.empty())
36493649
Res.append("+");
36503650
Res.append(CurFeat);
36513651
}

0 commit comments

Comments
 (0)