aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/ClangTidy.h
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-02-25 13:05:33 +0000
committerAlexander Kornienko <alexfh@google.com>2015-02-25 13:05:33 +0000
commit4900a60dc001f3c5928e25135dfc1f6763c132c0 (patch)
tree563597866077787b49afeb9a43fe579cb381fce4 /clang-tidy/ClangTidy.h
parentaf8e0ac52cec04ca87dfad88da36479009133172 (diff)
[clang-tidy] Correct confusion between overwrite and override. NFC.
Patch by Richard Thomson! http://reviews.llvm.org/D7604 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@230490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/ClangTidy.h')
-rw-r--r--clang-tidy/ClangTidy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tidy/ClangTidy.h b/clang-tidy/ClangTidy.h
index 4038d030..70c98222 100644
--- a/clang-tidy/ClangTidy.h
+++ b/clang-tidy/ClangTidy.h
@@ -82,9 +82,9 @@ private:
/// \brief Base class for all clang-tidy checks.
///
-/// To implement a \c ClangTidyCheck, write a subclass and overwrite some of the
+/// To implement a \c ClangTidyCheck, write a subclass and override some of the
/// base class's methods. E.g. to implement a check that validates namespace
-/// declarations, overwrite \c registerMatchers:
+/// declarations, override \c registerMatchers:
///
/// \code
/// registerMatchers(ast_matchers::MatchFinder *Finder) {
@@ -92,7 +92,7 @@ private:
/// }
/// \endcode
///
-/// and then overwrite \c check(const MatchResult &Result) to do the actual
+/// and then override \c check(const MatchResult &Result) to do the actual
/// check for each match.
///
/// A new \c ClangTidyCheck instance is created per translation unit.
@@ -115,13 +115,13 @@ public:
virtual ~ClangTidyCheck() {}
- /// \brief Overwrite this to register \c PPCallbacks with \c Compiler.
+ /// \brief Override this to register \c PPCallbacks with \c Compiler.
///
/// This should be used for clang-tidy checks that analyze preprocessor-
/// dependent properties, e.g. the order of include directives.
virtual void registerPPCallbacks(CompilerInstance &Compiler) {}
- /// \brief Overwrite this to register ASTMatchers with \p Finder.
+ /// \brief Override this to register ASTMatchers with \p Finder.
///
/// This should be used by clang-tidy checks that analyze code properties that
/// dependent on AST knowledge.