Searched refs:typedefDecl (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 203 typedefDecl(hasName("CFNumberRef")), in checkASTCodeBody() 204 typedefDecl(hasName("CFBooleanRef"))))))) in checkASTCodeBody() 244 typedefDecl(hasName("BOOL"))))).bind("objc_bool_type"); in checkASTCodeBody() 257 typedefDecl(matchesName("^::u?intptr_t$")))))) in checkASTCodeBody()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | DeprecatedIosBaseAliasesCheck.cpp | 33 auto IoStateDecl = typedefDecl(hasAnyName(DeprecatedTypes)).bind("TypeDecl"); in registerMatchers()
|
| H A D | UseUsingCheck.cpp | 32 Finder->addMatcher(typedefDecl(unless(isInstantiated()), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | MisplacedConstCheck.cpp | 27 typedefDecl(NonConstAndNonFunctionPointerType).bind("typedef"), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SignedCharMisuseCheck.cpp | 43 const auto IntTypedef = qualType(hasDeclaration(typedefDecl( in charCastExpression()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 574 REGISTER_MATCHER(typedefDecl); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 2036 typedefDecl(hasName("typedefDeclTest")))); in TEST_P() 2044 typedefDecl(hasName("typedefDeclTest")))); in TEST_P()
|
| H A D | ASTMatchersTraversalTest.cpp | 361 EXPECT_TRUE(matches("typedef int X;", typedefDecl(hasType(asString("int"))))); in TEST() 363 typedefDecl(hasType(asString("const int"))))); in TEST() 365 typedefDecl(hasType(asString("int"))))); in TEST() 367 typedefDecl(hasType(asString("foo")), hasName("bar")))); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | Move.cpp | 656 Finder->addMatcher(namedDecl(anyOf(typedefDecl().bind("typedef"), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 728 const internal::VariadicDynCastAllOfMatcher<Decl, TypedefDecl> typedefDecl; variable
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 423 typedefDecl(hasType(templateSpecializationType( in TEST_P() 577 functionDecl(hasDescendant(typedefDecl(has(atomicType()))))); in TEST_P() 2988 cxxRecordDecl(has(typedefDecl(has(dependentNameType()))))))); in TEST_P() 6096 ToTU, typedefDecl(hasName(TypeName))); in TEST_P() 6100 FromTU, typedefDecl(hasName(TypeName))); in TEST_P() 7221 FirstDeclMatcher<TypedefDecl>().match(TU, typedefDecl(hasName("X"))); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaType.cpp | 7314 TypedefNameDecl *typedefDecl = typedefType->getDecl(); in checkNullabilityTypeSpecifier() local 7315 QualType underlyingType = typedefDecl->getUnderlyingType(); in checkNullabilityTypeSpecifier() 7319 S.Diag(typedefDecl->getLocation(), diag::note_nullability_here) in checkNullabilityTypeSpecifier()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 195 typedefDecl;
|