summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h')
-rw-r--r--clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h b/clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h
index eae5a06320d..c17bbbd0e96 100644
--- a/clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h
+++ b/clang-tools-extra/clang-tidy/misc/SizeofContainerCheck.h
@@ -14,6 +14,7 @@
namespace clang {
namespace tidy {
+namespace misc {
/// Find usages of sizeof on expressions of STL container types. Most likely the
/// user wanted to use `.size()` instead.
@@ -28,6 +29,7 @@ public:
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
};
+} // namespace misc
} // namespace tidy
} // namespace clang
OpenPOWER on IntegriCloud