Home
last modified time | relevance | path

Searched refs:declRefExpr (Results 1 – 10 of 10) sorted by relevance

/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp92 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition()
104 declRefExpr(to(varDecl(VarNodeMatcher)))))), in changeIntBoundNode()
107 declRefExpr(to(varDecl(VarNodeMatcher))))))); in changeIntBoundNode()
113 declRefExpr(to(varDecl(VarNodeMatcher))), in callByRef()
122 initListExpr(has(declRefExpr(to(varDecl(VarNodeMatcher))))), in assignedToRef()
123 declRefExpr(to(varDecl(VarNodeMatcher))))))))); in assignedToRef()
130 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
154 binaryOperator(hasLHS(declRefExpr(to(varDecl( in forLoopMatcher()
162 hasUnaryOperand(declRefExpr( in forLoopMatcher()
H A DRegionStore.cpp1073 StatementMatcher RefToStatic = stmt(hasDescendant(declRefExpr( in VisitCluster()
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGCDAntipatternChecker.cpp60 return hasArgument(ArgIdx, ignoringParenCasts(declRefExpr( in equalsBoundArgDecl()
66 declRefExpr(to(varDecl().bind(DeclName))))); in bindAssignmentToDecl()
H A DPointerIterationChecker.cpp68 auto UnorderedContainerM = declRefExpr(to(varDecl(hasType( in matchUnorderedIterWithPointers()
H A DObjCAutoreleaseWriteChecker.cpp180 declRefExpr(to(parmVarDecl(DoublePointerParamM))).bind(CapturedBind); in checkASTCodeBody()
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp805 declRefExpr(hasPointerType(), toSupportedVariable())
854 declRefExpr(hasPointerType(), toSupportedVariable()) in matcher()
856 hasLHS(declRefExpr(hasPointerType(), toSupportedVariable()) in matcher()
903 declRefExpr(hasType(hasCanonicalType(constantArrayType())), in getBaseStmt()
906 hasLHS(declRefExpr(hasPointerType(), toSupportedVariable()) in getClaimedVarUseSites()
1051 ignoringParenImpCasts(declRefExpr(ArrayOrPtr, toSupportedVariable())));
1093 declRefExpr(allOf(ArrayOrPtr, toSupportedVariable())) in getBaseStmt()
1128 declRefExpr(toSupportedVariable()).bind(BaseDeclRefExprTag))))) in matcher()
1169 ignoringParenImpCasts(declRefExpr(toSupportedVariable())))))) in findGadgets()
1278 hasUnaryOperand(declRefExpr(toSupportedVariabl in groupWarningGadgetsByVar()
[all...]
H A DExprMutationAnalyzer.cpp256 declRefExpr(to( in tryEachDeclRef()
441 const auto AsNonConstRefRangeInit = cxxForRangeStmt(hasRangeInit(declRefExpr( in findDirectMutation()
574 // check all declRefExpr of the loop variable. in findReferenceMutation()
600 // If 'Exp' is bound to a non-const reference, check all declRefExpr to that. in findReferenceMutation()
/freebsd-src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp224 REGISTER_MATCHER(declRefExpr); in RegistryMaps()
/freebsd-src/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp898 const internal::VariadicDynCastAllOfMatcher<Stmt, DeclRefExpr> declRefExpr; variable
/freebsd-src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h914 /// varDecl(hasInitializer(ignoringImpCasts(declRefExpr())))
920 /// varDecl(hasInitializer(declRefExpr()))
964 /// varDecl(hasInitializer(ignoringParenImpCasts(declRefExpr())))
968 /// varDecl(hasInitializer(declRefExpr()))
1164 /// isExpr(hasDescendant(declRefExpr(to(fieldDecl(hasName("next"))))))))
2115 declRefExpr;
3213 /// hasObjectExpression(declRefExpr(hasType(templateSpecializationType(
3797 /// objcMessageExpr(hasReceiver(declRefExpr(to(varDecl(hasName("x")))))) in AST_MATCHER_P()
4247 /// (matcher = declRefExpr(to(varDecl(hasName("x")))))
4268 /// declRefExpr(throughUsingDec
[all...]