diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-05-02 18:00:29 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-05-02 18:00:29 +0000 |
commit | 456177b98fa3d807007ccfe671aae02691480e5a (patch) | |
tree | 77b9ffe58104e1158adf04cab301d3f4721e3fae /clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h | |
parent | 93529ed9b8a9de9e63e23d50c8304b2fbb4335fe (diff) | |
download | bcm5719-llvm-456177b98fa3d807007ccfe671aae02691480e5a.tar.gz bcm5719-llvm-456177b98fa3d807007ccfe671aae02691480e5a.zip |
[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
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h')
-rw-r--r-- | clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h b/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h index ec6979a5069..b376e64d0d7 100644 --- a/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h +++ b/clang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h @@ -14,7 +14,8 @@ namespace clang { namespace tidy { - +namespace cppcoreguidelines { + /// This check flags all array to pointer decays /// /// For the user-facing documentation see: @@ -27,6 +28,7 @@ public: void check(const ast_matchers::MatchFinder::MatchResult &Result) override; }; +} // namespace cppcoreguidelines } // namespace tidy } // namespace clang |