Lines Matching refs:SubExpr
8999 Expr *SubExpr = UO->getSubExpr()->IgnoreImpCasts(); in diagnoseLogicalNotOnLHSofComparison() local
9000 if (SubExpr->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison()
9007 SourceLocation FirstOpen = SubExpr->getLocStart(); in diagnoseLogicalNotOnLHSofComparison()
11099 SourceLocation OpLoc, Expr *SubExpr) { in DiagnoseBitwiseOpInBitwiseOp() argument
11100 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(SubExpr)) { in DiagnoseBitwiseOpInBitwiseOp()
11114 Expr *SubExpr, StringRef Shift) { in DiagnoseAdditionInShift() argument
11115 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(SubExpr)) { in DiagnoseAdditionInShift()
14403 Expr *SubExpr, ConditionKind CK) { in ActOnCondition() argument
14405 if (!SubExpr) in ActOnCondition()
14411 Cond = CheckBooleanCondition(Loc, SubExpr); in ActOnCondition()
14415 Cond = CheckBooleanCondition(Loc, SubExpr, true); in ActOnCondition()
14419 Cond = CheckSwitchCondition(Loc, SubExpr); in ActOnCondition()
14460 Expr *SubExpr = SubResult.get(); in rebuildSugarExpr() local
14461 E->setSubExpr(SubExpr); in rebuildSugarExpr()
14462 E->setType(SubExpr->getType()); in rebuildSugarExpr()
14463 E->setValueKind(SubExpr->getValueKind()); in rebuildSugarExpr()
14480 Expr *SubExpr = SubResult.get(); in VisitUnaryAddrOf() local
14481 E->setSubExpr(SubExpr); in VisitUnaryAddrOf()
14482 E->setType(S.Context.getPointerType(SubExpr->getType())); in VisitUnaryAddrOf()
14554 Expr *SubExpr = SubResult.get(); in rebuildSugarExpr() local
14555 E->setSubExpr(SubExpr); in rebuildSugarExpr()
14556 E->setType(SubExpr->getType()); in rebuildSugarExpr()
14557 E->setValueKind(SubExpr->getValueKind()); in rebuildSugarExpr()