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-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp') diff --git a/clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp b/clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp index abdcdf49e86..7fc9437328b 100644 --- a/clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp +++ b/clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp @@ -12,12 +12,12 @@ #include "../utils/FixItHintUtils.h" #include "../utils/TypeTraits.h" +using namespace clang::ast_matchers; + namespace clang { namespace tidy { namespace performance { -using namespace ::clang::ast_matchers; - ForRangeCopyCheck::ForRangeCopyCheck(StringRef Name, ClangTidyContext *Context) : ClangTidyCheck(Name, Context), WarnOnAllAutoCopies(Options.get("WarnOnAllAutoCopies", 0)) {} -- cgit v1.2.3