Skip to content

Commit

Permalink
build: fix clang-tidy plugin build failure (cataclysmbnteam#6016)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 authored Jan 30, 2025
1 parent da03f06 commit a6e8d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/clang-tidy-plugin/TextStyleCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ void TextStyleCheck::check( const MatchFinder::MatchResult &Result )
const SourceLocation &loc = text.getStrTokenLoc( i );
if( loc.isInvalid() ) {
return;
} else if( StringRef( SrcMgr.getPresumedLoc( SrcMgr.getSpellingLoc(
loc ) ).getFilename() ).equals( "<scratch space>" ) ) {
} else if( StringRef( SrcMgr.getPresumedLoc( SrcMgr.getSpellingLoc( loc ) ).getFilename() )
.equals_insensitive( "<scratch space>" ) ) {
return;
}
}
Expand Down

0 comments on commit a6e8d1f

Please sign in to comment.