Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclAttr.cpp630 if (const auto *UOp = dyn_cast<UnaryOperator>(ArgExp)) in checkAttrArgsAreCapabilityObjs() local
631 if (UOp->getOpcode() == UO_AddrOf) in checkAttrArgsAreCapabilityObjs()
632 if (const auto *DRE = dyn_cast<DeclRefExpr>(UOp->getSubExpr())) in checkAttrArgsAreCapabilityObjs()
H A DSemaChecking.cpp11826 if (UnaryOperator *UOp = dyn_cast<UnaryOperator>(InnerE)) in DiagnoseFloatingImpCast() local
11827 if (UOp->getOpcode() == UO_Minus || UOp->getOpcode() == UO_Plus) in DiagnoseFloatingImpCast()
11828 InnerE = UOp->getSubExpr()->IgnoreParenImpCasts(); in DiagnoseFloatingImpCast()