Skip to content

Commit 2df4bc1

Browse files
Update clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
Co-authored-by: whisperity <[email protected]>
1 parent 06fb72b commit 2df4bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ void SizeofExpressionCheck::check(const MatchFinder::MatchResult &Result) {
402402
<< E->getLHS()->getSourceRange() << E->getRHS()->getSourceRange();
403403
} else if (NumTy && DenomTy && NumTy == DenomTy &&
404404
!NumTy->isDependentType()) {
405-
// dependent type should not be compared.
405+
// Dependent type should not be compared.
406406
diag(E->getOperatorLoc(),
407407
"suspicious usage of 'sizeof(...)/sizeof(...)'; both expressions "
408408
"have the same type")

0 commit comments

Comments
 (0)