Home
last modified time | relevance | path

Searched refs:hasType (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp201 expr(hasType( in checkASTCodeBody()
210 expr(hasType(hasCanonicalType( in checkASTCodeBody()
222 expr(hasType(hasCanonicalType( in checkASTCodeBody()
265 expr(ignoringParenImpCasts(expr(hasType(SuspiciousScalarTypeM)))); in checkASTCodeBody()
279 callExpr(hasAnyArgument(allOf(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
315 explicitCastExpr(allOf(hasType(SuspiciousScalarBooleanTypeM), in checkASTCodeBody()
319 explicitCastExpr(allOf(hasType(SuspiciousScalarNumberTypeM), in checkASTCodeBody()
324 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
H A DPointerIterationChecker.cpp68 auto UnorderedContainerM = declRefExpr(to(varDecl(hasType( in matchUnorderedIterWithPointers()
72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
H A DPointerSortingChecker.cpp83 hasType(cxxRecordDecl(has( in matchSortWithPointers()
84 fieldDecl(hasType(hasCanonicalType( in matchSortWithPointers()
H A DObjCAutoreleaseWriteChecker.cpp173 parmVarDecl(hasType(hasCanonicalType(pointerType( in checkASTCodeBody()
198 hasType(hasCanonicalType(blockPointerType())), in checkASTCodeBody()
H A DGCDAntipatternChecker.cpp103 auto HasBlockArgumentM = hasAnyArgument(hasType( in findGCDAntiPatternWithSemaphore()
149 auto HasBlockArgumentM = hasAnyArgument(hasType( in findGCDAntiPatternWithGroup()
H A DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp326 hasType(templateTypeParmType()), isTypeDependent()))); in findDirectMutation()
362 hasType(nonConstReferenceType()))))); in findDirectMutation()
446 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
450 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
475 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
493 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
520 hasType(nonConstReferenceType()), in findReferenceMutation()
537 parmVarDecl(hasType(nonConstReferenceType())).bind("parm")); in findFunctionArgMutation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp87 to(varDecl(hasType(isInteger())).bind(BindName))))), in simpleCondition()
108 parmVarDecl(hasType(references(qualType(unless(isConstQualified()))))))); in callByRef()
114 allOf(hasType(referenceType()), in assignedToRef()
158 hasType(isInteger())))))))), in forLoopMatcher()
H A DLoopWidening.cpp72 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DLibASTMatchersTutorial.rst215 variable(hasType(isInteger())).bind("intvar")
373 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
383 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
408 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
409 hasRHS(expr(hasType(isInteger())))))
446 to(varDecl(hasType(isInteger())))))),
447 hasRHS(expr(hasType(isInteger())))))
490 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
494 to(varDecl(hasType(isInteger())).bind("condVarName"))))),
495 hasRHS(expr(hasType(isInteger())))))).bind("forLoop");
H A DLanguageExtensions.rst3532 ``enum``, ``record`` and ``hasType(functionType)``, requires the presence of at
3573 - ``hasType(functionType)``: Can be used to apply attributes to functions, C++
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Linker/
H A DIRMover.h59 bool hasType(StructType *Ty);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3848 hasType,
3889 hasType,
4087 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
4095 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
4812 hasParameter(ParamIndex, hasType(ParamMatcher))))), in AST_POLYMORPHIC_MATCHER_P2()
4814 hasParameter(ParamIndex, hasType(ParamMatcher))))))) in AST_POLYMORPHIC_MATCHER_P2()
7469 integerLiteral(equals(0), hasParent(expr(hasType(pointerType()))))); in AST_MATCHER_FUNCTION()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/
H A DIRMover.cpp800 if (TypeMap.DstStructTypesSet.hasType(ST)) { in computeTypeMapping()
834 if (TypeMap.DstStructTypesSet.hasType(DST)) in computeTypeMapping()
1602 bool IRMover::IdentifiedStructTypeSet::hasType(StructType *Ty) { in hasType() function in IRMover::IdentifiedStructTypeSet
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenRegisters.h355 bool hasType(const ValueTypeByHwMode &VT) const { in hasType() function
H A DCodeGenRegisters.cpp2384 if ((!VT || RC.hasType(*VT)) && in getMinimalPhysRegClass()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp111 REGISTER_OVERLOADED_2(hasType); in RegistryMaps()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttr.td432 // hasType is abstract, it should be used with one of the sub-rules.
433 def SubjectMatcherForType : AttrSubjectMatcherRule<"hasType", [], [