From 456177b98fa3d807007ccfe671aae02691480e5a Mon Sep 17 00:00:00 2001 From: Etienne Bergeron Date: Mon, 2 May 2016 18:00:29 +0000 Subject: [clang-tidy] Cleaning namespaces to be more consistant across checkers. Summary: The goal of the patch is to bring checkers in their appropriate namespace. This path doesn't change any behavior. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19811 llvm-svn: 268264 --- .../clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp') diff --git a/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp b/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp index 8a37b1b68fa..bfcef89e6bb 100644 --- a/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp +++ b/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp @@ -15,6 +15,7 @@ using namespace clang::ast_matchers; namespace clang { namespace tidy { +namespace cppcoreguidelines { AST_MATCHER_P(CXXForRangeStmt, hasRangeBeginEndStmt, ast_matchers::internal::Matcher, InnerMatcher) { @@ -74,5 +75,6 @@ void ProBoundsArrayToPointerDecayCheck::check( "an explicit cast instead"); } +} // namespace cppcoreguidelines } // namespace tidy } // namespace clang -- cgit v1.2.3