diff options
author | Congcong Cai <congcongcai0907@163.com> | 2025-07-27 10:11:06 +0800 |
---|---|---|
committer | Congcong Cai <congcongcai0907@163.com> | 2025-07-27 10:11:06 +0800 |
commit | 59fdd97fe6d4e84d653cd005cddb50c1f2eedcb7 (patch) | |
tree | d6a0a7718858ca1e3d3ee84d15864882d9d3a674 /clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp | |
parent | 1c6e75cb9849c5301ebefcc91a0b3f33c266377b (diff) | |
download | llvm-59fdd97fe6d4e84d653cd005cddb50c1f2eedcb7.zip llvm-59fdd97fe6d4e84d653cd005cddb50c1f2eedcb7.tar.gz llvm-59fdd97fe6d4e84d653cd005cddb50c1f2eedcb7.tar.bz2 |
[clang-tidy][NFC] typo in UseUsingCheck
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp index 936a906..e307339 100644 --- a/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp +++ b/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp @@ -92,7 +92,7 @@ void UseUsingCheck::check(const MatchFinder::MatchResult &Result) { const LangOptions &LO = getLangOpts(); // Match CXXRecordDecl only to store the range of the last non-implicit full - // declaration, to later check whether it's within the typdef itself. + // declaration, to later check whether it's within the typedef itself. const auto *MatchedTagDecl = Result.Nodes.getNodeAs<TagDecl>(TagDeclName); if (MatchedTagDecl) { // It is not sufficient to just track the last TagDecl that we've seen, @@ -152,7 +152,7 @@ void UseUsingCheck::check(const MatchFinder::MatchResult &Result) { StringRef ExtraReference = ""; if (MainTypeEndLoc.isValid() && TypeRange.fullyContains(MainTypeEndLoc)) { // Each type introduced in a typedef can specify being a reference or - // pointer type seperately, so we need to sigure out if the new using-decl + // pointer type separately, so we need to figure out if the new using-decl // needs to be to a reference or pointer as well. const SourceLocation Tok = utils::lexer::findPreviousAnyTokenKind( MatchedDecl->getLocation(), SM, LO, tok::TokenKind::star, |