summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-02-27 13:14:51 +0000
committerAlexander Kornienko <alexfh@google.com>2014-02-27 13:14:51 +0000
commitcb9272fe66d32ec8da26b489c2e9d16b597401ce (patch)
treed2b2ace9526208f932c1d81f9c5a8e06cae65018 /clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
parentcb3f6e164b1da340e290dedce07c1886ee861459 (diff)
downloadbcm5719-llvm-cb9272fe66d32ec8da26b489c2e9d16b597401ce.tar.gz
bcm5719-llvm-cb9272fe66d32ec8da26b489c2e9d16b597401ce.zip
Normalized "virtual" and "LLVM_OVERRIDE" usage in clang-tidy.
Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2894 llvm-svn: 202392
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp b/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
index 2562893ebe7..7aa64e95020 100644
--- a/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
+++ b/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
@@ -44,7 +44,8 @@ void ExplicitConstructorCheck::check(const MatchFinder::MatchResult &Result) {
class GoogleModule : public ClangTidyModule {
public:
- virtual void addCheckFactories(ClangTidyCheckFactories &CheckFactories) {
+ void
+ addCheckFactories(ClangTidyCheckFactories &CheckFactories) LLVM_OVERRIDE {
CheckFactories.addCheckFactory(
"google-explicit-constructor",
new ClangTidyCheckFactory<ExplicitConstructorCheck>());
OpenPOWER on IntegriCloud