Skip to content

Commit e03d67e

Browse files
hjanuschkanicovank
andauthored
Update clang-tools-extra/clang-tidy/modernize/UseStartsEndsWithCheck.cpp
Co-authored-by: Nicolas van Kempen <[email protected]>
1 parent 522d4b3 commit e03d67e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang-tools-extra/clang-tidy/modernize/UseStartsEndsWithCheck.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ void UseStartsEndsWithCheck::check(const MatchFinder::MatchResult &Result) {
218218
FindExpr->getBeginLoc().isMacroID())
219219
return;
220220

221+
// Make sure FindExpr->getArg(0) can be used to make a range in the FitItHint.
221222
if (FindExpr->getNumArgs() == 0)
222223
return;
223224

0 commit comments

Comments
 (0)