Home
last modified time | relevance | path

Searched refs:typedefDecl (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp203 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 DDeprecatedIosBaseAliasesCheck.cpp33 auto IoStateDecl = typedefDecl(hasAnyName(DeprecatedTypes)).bind("TypeDecl"); in registerMatchers()
H A DUseUsingCheck.cpp32 Finder->addMatcher(typedefDecl(unless(isInstantiated()), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DMisplacedConstCheck.cpp27 typedefDecl(NonConstAndNonFunctionPointerType).bind("typedef"), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSignedCharMisuseCheck.cpp43 const auto IntTypedef = qualType(hasDeclaration(typedefDecl( in charCastExpression()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp574 REGISTER_MATCHER(typedefDecl); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp2036 typedefDecl(hasName("typedefDeclTest")))); in TEST_P()
2044 typedefDecl(hasName("typedefDeclTest")))); in TEST_P()
H A DASTMatchersTraversalTest.cpp361 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 DMove.cpp656 Finder->addMatcher(namedDecl(anyOf(typedefDecl().bind("typedef"), in registerMatchers()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp728 const internal::VariadicDynCastAllOfMatcher<Decl, TypedefDecl> typedefDecl; variable
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp423 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 DSemaType.cpp7314 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 DASTMatchers.h195 typedefDecl;