summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy.rst')
-rw-r--r--clang-tools-extra/docs/clang-tidy.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy.rst b/clang-tools-extra/docs/clang-tidy.rst
index 1ed9b7904cf..dd44b466087 100644
--- a/clang-tools-extra/docs/clang-tidy.rst
+++ b/clang-tools-extra/docs/clang-tidy.rst
@@ -260,7 +260,7 @@ The check should be registered in the corresponding module with a distinct name:
class MyModule : public ClangTidyModule {
public:
virtual void
- addCheckFactories(ClangTidyCheckFactories &CheckFactories) LLVM_OVERRIDE {
+ addCheckFactories(ClangTidyCheckFactories &CheckFactories) override {
CheckFactories.addCheckFactory(
"my-explicit-constructor",
new ClangTidyCheckFactory<ExplicitConstructorCheck>());
OpenPOWER on IntegriCloud