diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.cpp b/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.cpp index 143c27a98b0..3fabbe69bb3 100644 --- a/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.cpp +++ b/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.cpp @@ -46,6 +46,7 @@ AST_MATCHER_P(CXXRecordDecl, baseOfBoundNode, std::string, ID) { } // namespace ast_matchers namespace tidy { +namespace misc { void UndelegatedConstructorCheck::registerMatchers(MatchFinder *Finder) { // We look for calls to constructors of the same type in constructors. To do @@ -70,5 +71,6 @@ void UndelegatedConstructorCheck::check(const MatchFinder::MatchResult &Result) "A temporary object is created here instead"); } +} // namespace misc } // namespace tidy } // namespace clang |

