HomeSort by relevance Sort by last modified time
    Searched defs:Ex (Results 1 - 25 of 42) 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 37 const Expr *FindExpr(const Expr *Ex) {
38 if (!MatchesCriteria(Ex))
41 for (const Stmt *SubStmt : Ex->children())
46 return Ex;
49 bool MatchesCriteria(const Expr *Ex) {
50 return St->getSVal(Ex, LCtx).isUndef();
87 const Expr *Ex = cast<Expr>(Condition);
93 if (PS->getStmt() == Ex)
97 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);
310 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts();
312 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/Native/
ModInfo.h 58 ModuleInfoEx(const ModuleInfoEx &Ex) = default;
  /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))
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);
357 SVal V = state->getSVal(Ex, LCtx);
366 SVal val = state->getSVal(Ex, LCtx);
374 SVal val = state->getSVal(Ex, LCtx);
670 void ExprEngine::VisitGuardedExpr(const Expr *Ex,
    [all...]
BugReporterVisitors.cpp 907 static const Expr *peelOffOuterExpr(const Expr *Ex,
909 Ex = Ex->IgnoreParenCasts();
910 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex))
912 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Ex))
914 if (auto *POE = dyn_cast<PseudoObjectExpr>(Ex)) {
925 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(Ex)) {
    [all...]
CallEvent.cpp 445 const Expr *Ex = getCXXThisExpr()->ignoreParenBaseCasts();
446 const CXXRecordDecl *ParentRecord = Ex->getType()->getAsCXXRecordDecl();
    [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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
LegalizeDAG.cpp     [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 274 /// headers and are considered modifiable by system calls (ex: errno).
292 /// (system or internal). Ex: Const global scalars would be modeled as part of
446 const Expr *Ex;
448 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion)
449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {}
453 const Expr *getExpr() const { return Ex; }
461 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex,
558 // TODO: We might want to return a different type here (ex: id (*ty)(...))
1048 Expr const *Ex;
    [all...]

Completed in 1847 milliseconds

1 2