@@ -4580,8 +4580,7 @@ AST_POLYMORPHIC_MATCHER_P2(hasArgument,
4580
4580
// / return (args * ... * 1);
4581
4581
// / }
4582
4582
// / \endcode
4583
- AST_MATCHER_P (CXXFoldExpr, hasFoldInit, ast_matchers::internal::Matcher<Expr>,
4584
- InnerMacher) {
4583
+ AST_MATCHER_P (CXXFoldExpr, hasFoldInit, internal::Matcher<Expr>, InnerMacher) {
4585
4584
const auto *const Init = Node.getInit ();
4586
4585
return Init && InnerMacher.matches (*Init, Finder, Builder);
4587
4586
}
@@ -4603,8 +4602,7 @@ AST_MATCHER_P(CXXFoldExpr, hasFoldInit, ast_matchers::internal::Matcher<Expr>,
4603
4602
// / return (args * ... * 1);
4604
4603
// / }
4605
4604
// / \endcode
4606
- AST_MATCHER_P (CXXFoldExpr, hasPattern, ast_matchers::internal::Matcher<Expr>,
4607
- InnerMacher) {
4605
+ AST_MATCHER_P (CXXFoldExpr, hasPattern, internal::Matcher<Expr>, InnerMacher) {
4608
4606
const Expr *const Pattern = Node.getPattern ();
4609
4607
return Pattern && InnerMacher.matches (*Pattern, Finder, Builder);
4610
4608
}
@@ -4685,8 +4683,8 @@ AST_MATCHER(CXXFoldExpr, isBinaryFold) { return Node.getInit() != nullptr; }
4685
4683
// / \code
4686
4684
// / int x{y}.
4687
4685
// / \endcode
4688
- AST_MATCHER_P2 (InitListExpr, hasInit, unsigned , N,
4689
- ast_matchers::internal::Matcher<Expr>, InnerMatcher) {
4686
+ AST_MATCHER_P2 (InitListExpr, hasInit, unsigned , N, internal::Matcher<Expr>,
4687
+ InnerMatcher) {
4690
4688
return N < Node.getNumInits () &&
4691
4689
InnerMatcher.matches (*Node.getInit (N), Finder, Builder);
4692
4690
}
@@ -5309,7 +5307,7 @@ AST_POLYMORPHIC_MATCHER_P(
5309
5307
forEachTemplateArgument,
5310
5308
AST_POLYMORPHIC_SUPPORTED_TYPES (ClassTemplateSpecializationDecl,
5311
5309
TemplateSpecializationType, FunctionDecl),
5312
- clang::ast_matchers:: internal::Matcher<TemplateArgument>, InnerMatcher) {
5310
+ internal::Matcher<TemplateArgument>, InnerMatcher) {
5313
5311
ArrayRef<TemplateArgument> TemplateArgs =
5314
5312
clang::ast_matchers::internal::getTemplateSpecializationArgs (Node);
5315
5313
clang::ast_matchers::internal::BoundNodesTreeBuilder Result;
@@ -8525,8 +8523,8 @@ AST_MATCHER(FunctionDecl, hasTrailingReturn) {
8525
8523
// /
8526
8524
// / ``varDecl(hasInitializer(ignoringElidableConstructorCall(callExpr())))``
8527
8525
// / matches ``H D = G()`` in C++11 through C++17 (and beyond).
8528
- AST_MATCHER_P (Expr, ignoringElidableConstructorCall,
8529
- ast_matchers::internal::Matcher<Expr>, InnerMatcher) {
8526
+ AST_MATCHER_P (Expr, ignoringElidableConstructorCall, internal::Matcher<Expr>,
8527
+ InnerMatcher) {
8530
8528
// E tracks the node that we are examining.
8531
8529
const Expr *E = &Node;
8532
8530
// If present, remove an outer `ExprWithCleanups` corresponding to the
0 commit comments