Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp1077 StatementMatcher RefToStatic = stmt(hasDescendant(declRefExpr( in VisitCluster()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/docs/
H A DLibASTMatchersTutorial.rst367 hasUnaryOperand(declRefExpr())))
376 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
385 hasUnaryOperand(declRefExpr(to(
411 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
448 hasLHS(ignoringParenImpCasts(declRefExpr(
492 hasUnaryOperand(declRefExpr(
496 hasLHS(ignoringParenImpCasts(declRefExpr(
H A DClangTransformerTutorial.rst100 makeRule(declRefExpr(to(functionDecl(hasName("MkX")))),
104 In this example, the pattern (``declRefExpr(...)``) identifies any *reference* to
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp192 match(findAll(declRefExpr(to(equalsNode(Dec))).bind(NodeID<Expr>::value)), in tryEachDeclRef()
371 hasRangeInit(declRefExpr(allOf(canResolveToExpr(equalsNode(Exp)), in findDirectMutation()
H A DUnsafeBufferUsage.cpp529 declRefExpr(anyOf(hasPointerType(), hasArrayType()), in findGadgets()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp217 REGISTER_MATCHER(declRefExpr); in RegistryMaps()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp649 expr(anyOf(declRefExpr(), memberExpr()), hasOptionalType()), in buildTransferMatchSwitch()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp892 const internal::VariadicDynCastAllOfMatcher<Stmt, DeclRefExpr> declRefExpr; variable
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2052 declRefExpr;