Skip to content

Commit 9dd44fe

Browse files
committed
clang-format
1 parent 870c0ea commit 9dd44fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang-tools-extra/clang-tidy/misc/ConfusableIdentifierCheck.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ struct Entry {
9393
const NamedDecl *ND;
9494
bool FromDerivedClass;
9595
};
96-
}
96+
} // namespace
9797

9898
using DeclsWithinContextMap =
9999
llvm::DenseMap<const DeclContext *, llvm::SmallVector<Entry, 1>>;
@@ -158,7 +158,7 @@ void ConfusableIdentifierCheck::check(
158158
}
159159

160160
void ConfusableIdentifierCheck::onEndOfTranslationUnit() {
161-
llvm::StringMap<llvm::SmallVector<const IdentifierInfo*, 1>> SkeletonToNames;
161+
llvm::StringMap<llvm::SmallVector<const IdentifierInfo *, 1>> SkeletonToNames;
162162
// Compute the skeleton for each identifier.
163163
for (auto &[Ident, Decls] : NameToDecls) {
164164
SkeletonToNames[skeleton(Ident->getName())].push_back(Ident);
@@ -209,7 +209,7 @@ void ConfusableIdentifierCheck::onEndOfTranslationUnit() {
209209
diag(Inner.ND->getLocation(), "%0 is confusable with %1")
210210
<< Inner.ND << OuterND;
211211
diag(OuterND->getLocation(), "other declaration found here",
212-
DiagnosticIDs::Note);
212+
DiagnosticIDs::Note);
213213
}
214214
}
215215
}

0 commit comments

Comments
 (0)