HomeSort by relevance Sort by last modified time
    Searched defs:Ex (Results 1 - 25 of 26) sorted by null

1 2

  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCAtSyncChecker.cpp 40 const Expr *Ex = S->getSynchExpr();
42 SVal V = state->getSVal(Ex, C.getLocationContext());
52 bugreporter::trackNullOrUndefValue(N, Ex, *report);
76 bugreporter::trackNullOrUndefValue(N, Ex, *report);
UndefResultChecker.cpp 63 const Expr *Ex = nullptr;
67 Ex = B->getLHS()->IgnoreParenCasts();
71 Ex = B->getRHS()->IgnoreParenCasts();
75 if (Ex) {
88 if (Ex) {
89 report->addRange(Ex->getSourceRange());
90 bugreporter::trackNullOrUndefValue(N, Ex, *report);
UndefBranchChecker.cpp 36 const Expr *FindExpr(const Expr *Ex) {
37 if (!MatchesCriteria(Ex))
40 for (const Stmt *SubStmt : Ex->children())
45 return Ex;
48 bool MatchesCriteria(const Expr *Ex) {
49 return St->getSVal(Ex, LCtx).isUndef();
86 const Expr *Ex = cast<Expr>(Condition);
92 if (PS->getStmt() == Ex)
96 Ex = FindIt.FindExpr(Ex);
    [all...]
DeadStoresChecker.cpp 103 LookThroughTransitiveAssignmentsAndCommaOperators(const Expr *Ex) {
104 while (Ex) {
106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts());
110 Ex = BO->getRHS();
114 Ex = BO->getRHS();
119 return Ex;
208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val,
224 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC);
308 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts();
310 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex))
    [all...]
RetainCountChecker.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Core/
ExplodedGraph.cpp 59 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) {
60 if (!Ex->isLValue())
62 return isa<DeclRefExpr>(Ex) ||
63 isa<MemberExpr>(Ex) ||
64 isa<ObjCIvarRefExpr>(Ex);
133 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt());
134 if (!Ex)
140 if (isInterestingLValueExpr(Ex))
148 if (!PM.isConsumedExpr(Ex))
CallEvent.cpp 435 const Expr *Ex = getCXXThisExpr()->ignoreParenBaseCasts();
436 const CXXRecordDecl *ParentRecord = Ex->getType()->getAsCXXRecordDecl();
    [all...]
ExprEngineC.cpp 249 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex,
261 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx));
268 QualType ExTy = Ex->getType();
304 // Copy the SVal of Ex to CastE.
307 SVal V = state->getSVal(Ex, LCtx);
346 SVal V = state->getSVal(Ex, LCtx);
355 SVal val = state->getSVal(Ex, LCtx);
363 SVal val = state->getSVal(Ex, LCtx);
659 void ExprEngine::VisitGuardedExpr(const Expr *Ex,
712 V = svalBuilder.conjureSymbolVal(nullptr, Ex, LCtx
    [all...]
BugReporterVisitors.cpp 858 static const Expr *peelOffOuterExpr(const Expr *Ex,
860 Ex = Ex->IgnoreParenCasts();
861 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex))
863 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Ex))
867 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(Ex)) {
888 return Ex;
898 if (const Expr *Ex = dyn_cast<Expr>(S)) {
899 Ex = Ex->IgnoreParenCasts()
    [all...]
ExprEngine.cpp 185 const Expr *Ex,
187 SVal V = State->getSVal(Ex, LC);
193 Result = Ex;
209 const Expr *Inner = Ex->IgnoreParens();
    [all...]
RegionStore.cpp 379 const Expr *Ex,
    [all...]
  /external/clang/lib/Analysis/
UninitializedValues.cpp 277 static const Expr *stripCasts(ASTContext &C, const Expr *Ex) {
278 while (Ex) {
279 Ex = Ex->IgnoreParenNoopCasts(C);
280 if (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) {
282 Ex = CE->getSubExpr();
288 return Ex;
463 const Expr *Ex = stripCasts(DC->getParentASTContext(), *I);
464 const UnaryOperator *UO = dyn_cast<UnaryOperator>(Ex);
466 Ex = UO->getSubExpr()
    [all...]
  /external/llvm/lib/Analysis/
LoopAccessAnalysis.cpp 136 const SCEV *Ex = SE->getBackedgeTakenCount(Lp);
139 const SCEV *ScEnd = AR->evaluateAtIteration(Ex, *SE);
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeVectorOps.cpp 678 SDValue Ex = DAG.getNode(
683 SDValue Store = DAG.getTruncStore(Chain, dl, Ex, BasePTR,
    [all...]
LegalizeIntegerTypes.cpp     [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 277 /// headers and are considered modifiable by system calls (ex: errno).
295 /// (system or internal). Ex: Const global scalars would be modeled as part of
450 const Expr *Ex;
452 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
453 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
457 const Expr *getExpr() const { return Ex; }
465 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
562 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1052 Expr const *Ex;
    [all...]
  /external/clang/lib/Sema/
SemaCast.cpp 239 ExprResult Ex = E;
244 DestType->isDependentType() || Ex.get()->isTypeDependent();
    [all...]
SemaDeclAttr.cpp 467 static bool isCapabilityExpr(Sema &S, const Expr *Ex) {
473 if (const auto *E = dyn_cast<DeclRefExpr>(Ex))
475 else if (const auto *E = dyn_cast<CastExpr>(Ex))
477 else if (const auto *E = dyn_cast<ParenExpr>(Ex))
479 else if (const auto *E = dyn_cast<UnaryOperator>(Ex)) {
483 } else if (const auto *E = dyn_cast<BinaryOperator>(Ex)) {
    [all...]
SemaExprCXX.cpp 602 Sema::ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) {
604 if (Ex) {
616 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Ex->IgnoreParens()))
635 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope);
638 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex,
648 if (Ex && !Ex->isTypeDependent()) {
649 QualType ExceptionObjectTy = Context.getExceptionObjectType(Ex->getType());
650 if (CheckCXXThrowOperand(OpLoc, ExceptionObjectTy, Ex))
670 NRVOVariable = getCopyElisionCandidate(QualType(), Ex, false)
    [all...]
SemaChecking.cpp     [all...]
SemaExpr.cpp     [all...]
  /frameworks/base/core/java/android/hardware/
SensorManager.java     [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
pr29166.cpp 4 class Ex
9 Ex( int v )
79 throw Ex( sum );
86 } catch( Ex& ) { }
  /ndk/tests/device/test-stlport_static-exception/jni/
pr29166.cpp 4 class Ex
9 Ex( int v )
79 throw Ex( sum );
86 } catch( Ex& ) { }
  /external/llvm/lib/Transforms/Vectorize/
SLPVectorizer.cpp     [all...]

Completed in 912 milliseconds

1 2