File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ struct Entry {
9393 const NamedDecl *ND;
9494 bool FromDerivedClass;
9595};
96- }
96+ } // namespace
9797
9898using DeclsWithinContextMap =
9999 llvm::DenseMap<const DeclContext *, llvm::SmallVector<Entry, 1 >>;
@@ -158,7 +158,7 @@ void ConfusableIdentifierCheck::check(
158158}
159159
160160void 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 }
You can’t perform that action at this time.
0 commit comments