• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/

Lines Matching refs:cxxRecordDecl

16 //    cxxRecordDecl(hasName("MyClass"))
27 // cxxRecordDecl(hasName("MyClass"), has(recordDecl().bind("child")))
226 /// (matcher = cxxRecordDecl(isExpansionInMainFile())
247 /// (matcher = cxxRecordDecl(isExpansionInSystemHeader())
272 /// (matcher = cxxRecordDecl(isExpansionInFileMatching("AST.*"))
391 cxxRecordDecl;
2518 /// cxxRecordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
2560 /// cxxRecordDecl(
2705 /// \c cxxRecordDecl(hasMethod(hasOverloadedOperatorName("*")))
2871 /// \c cxxRecordDecl(hasMethod(hasName("func"))) matches the declaration of
2886 /// \c cxxRecordDecl(isLambda()) matches the implicit class declaration of
2896 /// (matcher = cxxRecordDecl(has(cxxRecordDecl(hasName("X")))
2916 /// (matcher = cxxRecordDecl(hasDescendant(cxxRecordDecl(hasName("X")))))
2934 /// (matcher = cxxRecordDecl(forEach(cxxRecordDecl(hasName("X")))
2955 /// (matcher = cxxRecordDecl(forEachDescendant(cxxRecordDecl(hasName("X")))))
2969 /// cxxRecordDecl(forEachDescendant(cxxRecordDecl(
2970 /// forEachDescendant(cxxRecordDecl())
2992 /// cxxRecordDecl(hasName("::A"),
2993 /// findAll(cxxRecordDecl(isDefinition()).bind("m")))
3038 /// Example matches Y (matcher = cxxRecordDecl(unless(hasName("X"))))
3119 /// cxxMemberCallExpr(on(hasType(cxxRecordDecl(hasName("Y")))))
3121 /// cxxMemberCallExpr(on(hasType(cxxRecordDecl(hasName("X")))))
3370 /// Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
3371 /// and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
3396 /// declaration "X x;", cxxRecordDecl(hasName("X")) matches the declaration of
3397 /// X, while varDecl(hasType(cxxRecordDecl(hasName("X")))) matches the
3400 /// Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
3401 /// and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
3453 /// cxxRecordDecl(hasName("Y")))))))
3492 /// (matcher = varDecl(hasType(references(cxxRecordDecl(hasName("X"))))))
3544 /// cxxRecordDecl(hasName("Y")))))
3568 /// cxxRecordDecl(hasName("Y")))))
3571 /// cxxRecordDecl(hasName("X")))))
3907 /// cxxRecordDecl(has(cxxConstructorDecl(
3926 /// cxxRecordDecl(has(cxxConstructorDecl(hasAnyConstructorInitializer(
3946 /// cxxRecordDecl(has(cxxConstructorDecl(hasAnyConstructorInitializer(
4510 /// cxxRecordDecl(
5361 /// memberExpr(hasObjectExpression(hasType(cxxRecordDecl(hasName("X")))))
5364 // cxxRecordDecl(hasName("X"))))))
5427 /// cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
5435 /// cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
5461 auto IsInstantiation = decl(anyOf(cxxRecordDecl(isTemplateInstantiation()),
5482 hasAncestor(decl(anyOf(cxxRecordDecl(isTemplateInstantiation()),
6217 /// hasDeclaration(cxxRecordDecl(hasName("A")))
6236 /// hasDeclaration(cxxRecordDecl(hasName("A")))))))
6556 /// cxxRecordDecl(hasName("vector"), isInStdNamespace()) will match only #1.
6753 /// Example matches x (matcher = cxxRecordDecl(hasDefinition()))