Home
last modified time | relevance | path

Searched refs:UOp (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp63 void checkPreStmt(const UnaryOperator *UOp, CheckerContext &C) const;
296 void PointerArithChecker::checkPreStmt(const UnaryOperator *UOp, in checkPreStmt() argument
298 if (!UOp->isIncrementDecrementOp() || !UOp->getType()->isPointerType()) in checkPreStmt()
300 reportPointerArithMisuse(UOp->getSubExpr(), C, true); in checkPreStmt()
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/
H A Dtransform_inclusive_scan_bop_uop.pass.cpp39 template <class Iter1, class BOp, class UOp, class T>
41 test(Iter1 first, Iter1 last, BOp bop, UOp uop, const T *rFirst, const T *rLast) in test()
H A Dtransform_inclusive_scan_bop_uop_init.pass.cpp40 template <class Iter1, class BOp, class UOp, class T>
42 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, const T *rFirst, const T *rLast) in test()
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.reduce/
H A Dtransform_reduce_iter_iter_init_bop_uop.pass.cpp45 template <class Iter1, class T, class BOp, class UOp>
47 test(Iter1 first1, Iter1 last1, T init, BOp bOp, UOp uOp, T x) in test()
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/
H A Dtransform_exclusive_scan_init_bop_uop.pass.cpp39 template <class Iter1, class BOp, class UOp, class T>
41 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, const T *rFirst, const T *rLast) in test()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp513 void VisitUnaryOperator(const UnaryOperator *UOp);
896 void ConsumedStmtVisitor::VisitUnaryOperator(const UnaryOperator *UOp) { in VisitUnaryOperator() argument
897 InfoEntry Entry = findInfo(UOp->getSubExpr()); in VisitUnaryOperator()
900 switch (UOp->getOpcode()) { in VisitUnaryOperator()
902 PropagationMap.insert(PairType(UOp, Entry->second)); in VisitUnaryOperator()
907 PropagationMap.insert(PairType(UOp, Entry->second.invertTest())); in VisitUnaryOperator()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp641 if (const auto *UOp = dyn_cast<UnaryOperator>(ArgExp)) in checkAttrArgsAreCapabilityObjs() local
642 if (UOp->getOpcode() == UO_AddrOf) in checkAttrArgsAreCapabilityObjs()
643 if (const auto *DRE = dyn_cast<DeclRefExpr>(UOp->getSubExpr())) in checkAttrArgsAreCapabilityObjs()
H A DSemaChecking.cpp13138 if (UnaryOperator *UOp = dyn_cast<UnaryOperator>(InnerE)) in DiagnoseFloatingImpCast() local
13139 if (UOp->getOpcode() == UO_Minus || UOp->getOpcode() == UO_Plus) in DiagnoseFloatingImpCast()
13140 InnerE = UOp->getSubExpr()->IgnoreParenImpCasts(); in DiagnoseFloatingImpCast()