diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp b/clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp index c7034828eaf..f69590650bb 100644 --- a/clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp +++ b/clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp @@ -15,12 +15,11 @@ using namespace clang::ast_matchers; namespace clang { - -namespace ast_matchers { +namespace { AST_MATCHER(DeclRefExpr, hasExplicitTemplateArgs) { return Node.hasExplicitTemplateArgs(); } -} // namespace ast_matchers +} // namespace namespace tidy { namespace google { |

