Home
last modified time | relevance | path

Searched refs:ExprNode (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DLowLevelHelpers.cpp26 template <class ExprNode>
28 const ExprNode &Node, in matchEachArgumentWithParamTypeImpl()
31 static_assert(std::is_same_v<CallExpr, ExprNode> || in matchEachArgumentWithParamTypeImpl()
32 std::is_same_v<CXXConstructExpr, ExprNode>); in matchEachArgumentWithParamTypeImpl()
H A DASTMatchFinder.cpp166 if (auto *ExprNode = dyn_cast_or_null<Expr>(StmtNode)) { in getStmtToTraverse() local
173 ExprNode); in getStmtToTraverse()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2376 const ExplodedNode *ExprNode, in handle() argument
2388 const StackFrameContext *CurrentSFC = ExprNode->getStackFrame(); in handle()
2393 ExprNode->getLocationAs<CallExitEnd>()) in handle()
2398 ExprNode = ExprNode->getFirstPred(); in handle()
2399 if (!ExprNode) in handle()
2402 const StackFrameContext *PredSFC = ExprNode->getStackFrame(); in handle()
2408 if (std::optional<StmtPoint> SP = ExprNode->getLocationAs<StmtPoint>()) in handle()
2414 } while (ExprNode->getStackFrame() == CurrentSFC); in handle()
2417 while (ExprNode && ExprNode->getLocation().getAs<PostStmt>()) in handle()
2418 ExprNode = ExprNode->getFirstPred(); in handle()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3792 const Expr *ExprNode = Node.getImplicitObjectArgument() in AST_MATCHER_P() local
3794 return (ExprNode != nullptr && in AST_MATCHER_P()
3795 InnerMatcher.matches(*ExprNode, Finder, Builder)); in AST_MATCHER_P()
4027 const auto *ExprNode = Node.getCallee();
4028 return (ExprNode != nullptr &&
4029 InnerMatcher.matches(*ExprNode, Finder, Builder));
4300 const Expr *ExprNode = Node.getImplicitObjectArgument(); in AST_MATCHER_P() local
4301 return (ExprNode != nullptr && in AST_MATCHER_P()
4302 InnerMatcher.matches(*ExprNode, Finder, Builder)); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h314 const ExplodedNode *ExprNode,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3164 Expr *ExprNode = C->getImplicitObjectArgument(); in IgnoreUnlessSpelledInSource() local
3165 if (ExprNode->getSourceRange() == E->getSourceRange()) { in IgnoreUnlessSpelledInSource()
3166 return ExprNode; in IgnoreUnlessSpelledInSource()
3168 if (auto *PE = dyn_cast<ParenExpr>(ExprNode)) { in IgnoreUnlessSpelledInSource()
3173 ExprNode = ExprNode->IgnoreParenImpCasts(); in IgnoreUnlessSpelledInSource()
3174 if (ExprNode->getSourceRange() == E->getSourceRange()) in IgnoreUnlessSpelledInSource()
3175 return ExprNode; in IgnoreUnlessSpelledInSource()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4488 MDNode *ExprNode = unwrapMAVOp(CI, 2); in upgradeDbgIntrinsicToDbgRecord() local
4491 if (DIExpression *Expr = dyn_cast<DIExpression>(ExprNode)) { in upgradeDbgIntrinsicToDbgRecord()
4492 ExprNode = DIExpression::append(Expr, dwarf::DW_OP_deref); in upgradeDbgIntrinsicToDbgRecord()
4496 unwrapMAVOp(CI, 1), ExprNode, nullptr, nullptr, nullptr, in upgradeDbgIntrinsicToDbgRecord()