diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-03-30 13:10:33 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-03-30 13:10:33 +0000 |
commit | 0945cf0c25f94a027fcf8c8fc8ddb3d44ae5abfd (patch) | |
tree | ba676c063c1c2d63236285a35de2c599afdfa4f1 | |
parent | 06aba530997a32accb5e8dd798213c9fa3dd4ca1 (diff) | |
download | clang-tools-extra-0945cf0c25f94a027fcf8c8fc8ddb3d44ae5abfd.tar.gz |
Spelling mistakes in comments. NFCI.
Based on corrections mentioned in patch for clang for PR27635
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@299074 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | clang-rename/USRFinder.cpp | 2 | ||||
-rw-r--r-- | clang-tidy/cppcoreguidelines/NoMallocCheck.h | 6 | ||||
-rw-r--r-- | clang-tidy/utils/HeaderGuard.cpp | 2 | ||||
-rw-r--r-- | include-fixer/SymbolIndexManager.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/clang-rename/USRFinder.cpp b/clang-rename/USRFinder.cpp index 7733c6f0..d850af5c 100644 --- a/clang-rename/USRFinder.cpp +++ b/clang-rename/USRFinder.cpp @@ -27,7 +27,7 @@ namespace rename { // NamedDeclFindingASTVisitor recursively visits each AST node to find the // symbol underneath the cursor. -// FIXME: move to seperate .h/.cc file if this gets too large. +// FIXME: move to separate .h/.cc file if this gets too large. namespace { class NamedDeclFindingASTVisitor : public clang::RecursiveASTVisitor<NamedDeclFindingASTVisitor> { diff --git a/clang-tidy/cppcoreguidelines/NoMallocCheck.h b/clang-tidy/cppcoreguidelines/NoMallocCheck.h index 66b29f7b..4cec8a83 100644 --- a/clang-tidy/cppcoreguidelines/NoMallocCheck.h +++ b/clang-tidy/cppcoreguidelines/NoMallocCheck.h @@ -44,13 +44,13 @@ public: void check(const ast_matchers::MatchFinder::MatchResult &Result) override; private: - /// Semicolon-seperated list of fully qualified names of memory allocation + /// Semicolon-separated list of fully qualified names of memory allocation /// functions the check warns about. Defaults to `::malloc;::calloc`. const std::string AllocList; - /// Semicolon-seperated list of fully qualified names of memory reallocation + /// Semicolon-separated list of fully qualified names of memory reallocation /// functions the check warns about. Defaults to `::realloc`. const std::string ReallocList; - /// Semicolon-seperated list of fully qualified names of memory deallocation + /// Semicolon-separated list of fully qualified names of memory deallocation /// functions the check warns about. Defaults to `::free`. const std::string DeallocList; }; diff --git a/clang-tidy/utils/HeaderGuard.cpp b/clang-tidy/utils/HeaderGuard.cpp index f89362d8..515f8821 100644 --- a/clang-tidy/utils/HeaderGuard.cpp +++ b/clang-tidy/utils/HeaderGuard.cpp @@ -76,7 +76,7 @@ public: // We use clang's header guard detection. This has the advantage of also // emitting a warning for cases where a pseudo header guard is found but - // preceeded by something blocking the header guard optimization. + // preceded by something blocking the header guard optimization. if (!MI->isUsedForHeaderGuard()) continue; diff --git a/include-fixer/SymbolIndexManager.h b/include-fixer/SymbolIndexManager.h index feb5de3b..12963ddb 100644 --- a/include-fixer/SymbolIndexManager.h +++ b/include-fixer/SymbolIndexManager.h @@ -30,7 +30,7 @@ namespace clang { namespace include_fixer { /// This class provides an interface for finding the header files corresponding -/// to an indentifier in the source code from multiple symbol databases. +/// to an identifier in the source code from multiple symbol databases. class SymbolIndexManager { public: void addSymbolIndex(std::function<std::unique_ptr<SymbolIndex>()> F) { |