[clang-tools-extra] r299074 - Spelling mistakes in comments. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 30 06:10:34 PDT 2017
Author: rksimon
Date: Thu Mar 30 08:10:33 2017
New Revision: 299074
URL: http://llvm.org/viewvc/llvm-project?rev=299074&view=rev
Log:
Spelling mistakes in comments. NFCI.
Based on corrections mentioned in patch for clang for PR27635
Modified:
clang-tools-extra/trunk/clang-rename/USRFinder.cpp
clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/NoMallocCheck.h
clang-tools-extra/trunk/clang-tidy/utils/HeaderGuard.cpp
clang-tools-extra/trunk/include-fixer/SymbolIndexManager.h
Modified: clang-tools-extra/trunk/clang-rename/USRFinder.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-rename/USRFinder.cpp?rev=299074&r1=299073&r2=299074&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-rename/USRFinder.cpp (original)
+++ clang-tools-extra/trunk/clang-rename/USRFinder.cpp Thu Mar 30 08:10:33 2017
@@ -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> {
Modified: clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/NoMallocCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/NoMallocCheck.h?rev=299074&r1=299073&r2=299074&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/NoMallocCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/NoMallocCheck.h Thu Mar 30 08:10:33 2017
@@ -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;
};
Modified: clang-tools-extra/trunk/clang-tidy/utils/HeaderGuard.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/utils/HeaderGuard.cpp?rev=299074&r1=299073&r2=299074&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/utils/HeaderGuard.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/utils/HeaderGuard.cpp Thu Mar 30 08:10:33 2017
@@ -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;
Modified: clang-tools-extra/trunk/include-fixer/SymbolIndexManager.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/SymbolIndexManager.h?rev=299074&r1=299073&r2=299074&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/SymbolIndexManager.h (original)
+++ clang-tools-extra/trunk/include-fixer/SymbolIndexManager.h Thu Mar 30 08:10:33 2017
@@ -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) {
More information about the cfe-commits
mailing list