diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp b/clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp index 6df565c..b45a3ebc 100644 --- a/clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp +++ b/clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp @@ -66,9 +66,9 @@ static llvm::SmallString<64U> skeleton(StringRef Name) { } StringRef Key(Prev, Curr - Prev); - auto Where = llvm::lower_bound(ConfusableEntries, CodePoint, - [](decltype(ConfusableEntries[0]) x, - UTF32 y) { return x.codepoint < y; }); + auto *Where = llvm::lower_bound(ConfusableEntries, CodePoint, + [](decltype(ConfusableEntries[0]) X, + UTF32 Y) { return X.codepoint < Y; }); if (Where == std::end(ConfusableEntries) || CodePoint != Where->codepoint) { Skeleton.append(Prev, Curr); } else { |