Skip to content

Commit 21d3d44

Browse files
committed
Use isInvalid
1 parent 8f0118a commit 21d3d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/readability/RedundantTypenameCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void RedundantTypenameCheck::check(const MatchFinder::MatchResult &Result) {
5858
return SourceLocation();
5959
}();
6060

61-
if (!TypenameKeywordLoc.isValid())
61+
if (TypenameKeywordLoc.isInvalid())
6262
return;
6363

6464
diag(TypenameKeywordLoc, "redundant 'typename'")

0 commit comments

Comments
 (0)