Home
last modified time | relevance | path

Searched refs:getTrueExpr (Results 1 – 25 of 32) sorted by relevance

12

/external/clang/lib/AST/
DParentMap.cpp65 M[BCO->getTrueExpr()] = S; in BuildParentMap()
66 BuildParentMap(M, BCO->getTrueExpr(), OV_Opaque); in BuildParentMap()
DExprClassification.cpp341 return ClassifyConditional(Ctx, co->getTrueExpr(), co->getFalseExpr()); in ClassifyInternal()
348 return ClassifyConditional(Ctx, co->getTrueExpr(), co->getFalseExpr()); in ClassifyInternal()
DExprConstant.cpp4181 StmtVisitorTy::Visit(E->getTrueExpr()); in CheckPotentialConstantConditional()
4199 Expr *EvalExpr = BoolResult ? E->getTrueExpr() : E->getFalseExpr(); in HandleConditionalOperator()
9688 ICEDiag TrueResult = CheckICE(Exp->getTrueExpr(), Ctx); in CheckICE()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp274 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(), in VisitConditionalOperator()
281 Sr[0] = C->getTrueExpr()->getSourceRange(); in VisitConditionalOperator()
/external/clang/lib/Sema/
DScopeInfo.cpp172 markSafeWeakUse(Cond->getTrueExpr()); in markSafeWeakUse()
DSemaChecking.cpp3849 Left = checkFormatStringExpr(S, C->getTrueExpr(), Args, in checkFormatStringExpr()
5091 CO->getTrueExpr()->getType(), in shouldNotPrintDirectly()
5092 CO->getTrueExpr()); in shouldNotPrintDirectly()
7155 return GetExprRange(C, CondResult ? CO->getTrueExpr() in GetExprRange()
7160 IntRange L = GetExprRange(C, CO->getTrueExpr(), MaxWidth); in GetExprRange()
8437 CheckConditionalOperand(S, E->getTrueExpr(), T, CC, Suspicious); in CheckConditionalOperator()
8453 CheckImplicitConversion(S, E->getTrueExpr()->IgnoreParenImpCasts(), in CheckConditionalOperator()
9292 Visit(Result ? CO->getTrueExpr() : CO->getFalseExpr()); in VisitAbstractConditionalOperator()
9294 WorkList.push_back(CO->getTrueExpr()); in VisitAbstractConditionalOperator()
10728 TypeExpr = ACO->getTrueExpr(); in FindTypeTagExpr()
DSemaLambda.cpp531 if (EnumDecl *ED = findEnumForBlockReturn(CO->getTrueExpr())) in findEnumForBlockReturn()
DSemaStmt.cpp1327 Visit(E->getTrueExpr()); in VisitConditionalOperator()
1403 CheckLValueToRValueCast(CO->getTrueExpr()); in CheckLValueToRValueCast()
DAnalysisBasedWarnings.cpp750 CreateIfFixit(S, CO, CO->getTrueExpr(), CO->getFalseExpr(), in DiagUninitUse()
DSemaExprCXX.cpp6469 return IsSpecialDiscardedValue(CO->getTrueExpr()) && in IsSpecialDiscardedValue()
6474 if (OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(BCO->getTrueExpr())) in IsSpecialDiscardedValue()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp538 CountMap[E->getTrueExpr()] = TrueCount; in VisitAbstractConditionalOperator()
539 Visit(E->getTrueExpr()); in VisitAbstractConditionalOperator()
DCoverageMappingGen.cpp894 extendRegion(E->getTrueExpr()); in VisitAbstractConditionalOperator()
895 propagateCounts(TrueCount, E->getTrueExpr()); in VisitAbstractConditionalOperator()
DCGExprAgg.cpp826 return isBlockVarRef(op->getTrueExpr()) in isBlockVarRef()
943 Visit(E->getTrueExpr()); in VisitAbstractConditionalOperator()
DCGExprComplex.cpp969 ComplexPairTy LHS = Visit(E->getTrueExpr()); in VisitAbstractConditionalOperator()
DCGExprCXX.cpp1769 return isGLValueFromPointerDeref(ACO->getTrueExpr()) || in isGLValueFromPointerDeref()
DCGExpr.cpp3496 const Expr *live = expr->getTrueExpr(), *dead = expr->getFalseExpr(); in EmitConditionalOperatorLValue()
3519 EmitLValueOrThrowExpression(*this, expr->getTrueExpr()); in EmitConditionalOperatorLValue()
/external/clang/include/clang/AST/
DExpr.h3152 Expr *getTrueExpr() const;
3208 Expr *getTrueExpr() const { return cast<Expr>(SubExprs[LHS]); } in getTrueExpr() function
3292 Expr *getTrueExpr() const { in getTrueExpr() function
3326 inline Expr *AbstractConditionalOperator::getTrueExpr() const { in getTrueExpr() function
3328 return co->getTrueExpr(); in getTrueExpr()
3329 return cast<BinaryConditionalOperator>(this)->getTrueExpr(); in getTrueExpr()
/external/clang/lib/ARCMigrate/
DTransforms.cpp208 return isGlobalVar(condOp->getTrueExpr()) && in isGlobalVar()
/external/clang/lib/Analysis/
DUninitializedValues.cpp365 classify(CO->getTrueExpr(), C); in classify()
DThreadSafetyCommon.cpp581 auto *T = translate(CO->getTrueExpr(), Ctx); in translateAbstractConditionalOperator()
DCFG.cpp1990 const Expr *trueExpr = C->getTrueExpr(); in VisitConditionalOperator()
1992 LHSBlock = Visit(C->getTrueExpr(), alwaysAdd); in VisitConditionalOperator()
3846 VisitForTemporaryDtors(E->getTrueExpr(), BindToTemporary, TrueContext); in VisitConditionalOperatorForTemporaryDtors()
/external/v8/tools/gcmole/
Dgcmole.cc673 return ExprEffect::Merge(VisitExpr(expr->getTrueExpr(), after_cond), in DECL_VISIT_EXPR()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp937 return peelOffOuterExpr(CO->getTrueExpr(), N); in peelOffOuterExpr()
DExprEngine.cpp1178 VisitGuardedExpr(C, C->getTrueExpr(), C->getFalseExpr(), Pred, Dst); in Visit()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3770 const Expr *Expression = Node.getTrueExpr(); in AST_MATCHER_P()

12