HomeSort by relevance Sort by last modified time
    Searched refs:Stmt (Results 26 - 50 of 223) sorted by null

12 3 4 5 6 7 8 9

  /external/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp 254 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred);
297 const Stmt *ReferenceStmt,
299 const Stmt *DiagnosticStmt,
383 const Stmt *currStmt = S.getStmt();
546 void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
559 case Stmt::CXXDependentScopeMemberExprClass:
560 case Stmt::CXXPseudoDestructorExprClass:
561 case Stmt::CXXTryStmtClass:
562 case Stmt::CXXTypeidExprClass:
563 case Stmt::CXXUuidofExprClass
    [all...]
BugReporter.cpp 55 static inline const Stmt *GetStmt(const ProgramPoint &P) {
78 static const Stmt *GetPreviousStmt(const ExplodedNode *N) {
80 if (const Stmt *S = GetStmt(N->getLocation()))
86 static const Stmt *GetNextStmt(const ExplodedNode *N) {
88 if (const Stmt *S = GetStmt(N->getLocation())) {
92 case Stmt::ChooseExprClass:
93 case Stmt::BinaryConditionalOperatorClass: continue;
94 case Stmt::ConditionalOperatorClass: continue;
95 case Stmt::BinaryOperatorClass: {
110 static inline const Stmt*
1538 const Stmt *stmt = S->getStmt(); local
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchers.h 111 typedef internal::Matcher<Stmt> StatementMatcher;
517 /// stmt()
519 const internal::VariadicAllOfMatcher<Stmt> stmt; member in namespace:clang::ast_matchers
530 Stmt,
544 const internal::VariadicDynCastAllOfMatcher<Stmt, MemberExpr> memberExpr;
554 const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr;
562 const internal::VariadicDynCastAllOfMatcher<Stmt, LambdaExpr> lambdaExpr;
572 Stmt,
585 const internal::VariadicDynCastAllOfMatcher<Stmt, InitListExpr> initListExpr
    [all...]
  /external/clang/include/clang/Analysis/
AnalysisContext.h 31 class Stmt;
133 void registerForcedBlockExpression(const Stmt *stmt);
134 const CFGBlock *getBlockForRegisteredExpression(const Stmt *stmt);
137 Stmt *getBody() const;
142 Stmt *getBody(bool &IsAutosynthesized) const;
180 const Stmt *S,
269 const Stmt *CallSite;
279 const Stmt *s, const CFGBlock *blk
    [all...]
CFG.h 18 #include "clang/AST/Stmt.h"
35 class Stmt;
108 CFGStmt(Stmt *S) : CFGElement(Statement, S) {}
110 const Stmt *getStmt() const {
111 return static_cast<const Stmt *>(Data1.getPointer());
168 CFGAutomaticObjDtor(const VarDecl *var, const Stmt *stmt)
169 : CFGImplicitDtor(AutomaticObjectDtor, var, stmt) {}
176 const Stmt *getTriggerStmt() const {
177 return static_cast<Stmt*>(Data2.getPointer())
    [all...]
ProgramPoint.h 188 static ProgramPoint getProgramPoint(const Stmt *S, ProgramPoint::Kind K,
227 const Stmt *getTerminator() const {
241 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L,
247 const Stmt *getStmt() const { return (const Stmt*) getData1(); }
265 PreStmt(const Stmt *S, const LocationContext *L, const ProgramPointTag *tag,
266 const Stmt *SubStmt = 0)
269 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); }
282 PostStmt(const Stmt *S, const void *data, Kind k, const LocationContext *L
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp 35 void reportBug(ProgramStateRef State, const Stmt *S, CheckerContext &C,
39 void checkLocation(SVal location, bool isLoad, const Stmt* S,
41 void checkBind(SVal L, SVal V, const Stmt *S, CheckerContext &C) const;
62 case Stmt::DeclRefExprClass: {
71 case Stmt::MemberExprClass: {
79 case Stmt::ObjCIvarRefExprClass: {
90 void DereferenceChecker::reportBug(ProgramStateRef State, const Stmt *S,
125 case Stmt::ArraySubscriptExprClass: {
133 case Stmt::UnaryOperatorClass: {
140 case Stmt::MemberExprClass:
    [all...]
IdempotentOperationChecker.cpp 46 #include "clang/AST/Stmt.h"
97 static bool containsNonLocalVarDecl(const Stmt *S);
335 const Stmt *predStmt =
629 case Stmt::ArraySubscriptExprClass:
630 case Stmt::MemberExprClass:
631 case Stmt::StmtExprClass:
632 case Stmt::CallExprClass:
633 case Stmt::VAArgExprClass:
634 case Stmt::ShuffleVectorExprClass:
640 case Stmt::IntegerLiteralClass
    [all...]
TraversalChecker.cpp 30 void checkBranchCondition(const Stmt *Condition, CheckerContext &C) const;
35 void TraversalDumper::checkBranchCondition(const Stmt *Condition,
39 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition);
VirtualCallChecker.cpp 112 // Stmt visitor methods.
115 void VisitStmt(Stmt *S) { VisitChildren(S); }
116 void VisitChildren(Stmt *S);
127 void WalkAST::VisitChildren(Stmt *S) {
128 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I!=E; ++I)
129 if (Stmt *child = *I)
224 if (Stmt *Body = I->getBody()) {
232 if (Stmt *Body = DD->getBody()) {
UndefBranchChecker.cpp 40 for (Stmt::const_child_iterator I = Ex->child_begin(),
56 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const;
61 void UndefBranchChecker::checkBranchCondition(const Stmt *Condition,
79 // Get the predecessor node and check if is a PostStmt with the Stmt
UndefCapturedBlockVarChecker.cpp 37 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S,
43 for (Stmt::const_child_iterator I = S->child_begin(), E = S->child_end();
45 if (const Stmt *child = *I) {
  /external/clang/lib/ARCMigrate/
Transforms.h 20 class Stmt;
49 Stmt *TopStmt;
52 BodyContext(MigrationContext &MigrateCtx, Stmt *S)
57 Stmt *getTopStmt() { return TopStmt; }
192 bool TraverseStmt(Stmt *rootS) {
206 void clearRefsIn(Stmt *S, ExprSet &refs);
213 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
215 void collectRemovables(Stmt *S, ExprSet &exprs);
TransRetainReleaseDealloc.cpp 37 Stmt *Body;
54 void transformBody(Stmt *body, Decl *ParentD) {
193 Stmt *nextStmt = getNextStmt(E);
214 Stmt *prevStmt, *nextStmt;
221 bool isPlusOneAssignToVar(Stmt *S, Decl *RefD) {
246 Stmt *getNextStmt(Expr *E) {
250 std::pair<Stmt *, Stmt *> getPreviousAndNextStmt(Expr *E) {
251 Stmt *prevStmt = 0, *nextStmt = 0;
255 Stmt *OuterS = E, *InnerS
    [all...]
TransAutoreleasePool.cpp 79 void transformBody(Stmt *body, Decl *ParentD) {
129 Stmt::child_iterator retI = scope.End;
167 for (Stmt::child_iterator
169 Stmt *child = getEssential(*I);
218 void clearUnavailableDiags(Stmt *S) {
228 Stmt::child_iterator Begin;
229 Stmt::child_iterator End;
237 Stmt::child_iterator rangeS = Begin;
241 Stmt::child_iterator rangeE = Begin;
242 for (Stmt::child_iterator I = rangeS; I != End; ++I
    [all...]
  /frameworks/compile/slang/
slang_rs_ast_replace.cpp 26 clang::Stmt *OuterStmt,
27 clang::Stmt *OldStmt,
28 clang::Stmt *NewStmt) {
33 // This simplifies use in various Stmt visitor passes where the only
43 clang::Stmt **UpdatedStmtList = new clang::Stmt*[CS->size()];
64 void RSASTReplace::VisitStmt(clang::Stmt *S) {
65 // This function does the actual iteration through all sub-Stmt's within
66 // a given Stmt. Note that this function is skipped by all of the other
68 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end()
    [all...]
  /external/clang/lib/Analysis/
LiveVariables.cpp 15 #include "clang/AST/Stmt.h"
101 llvm::ImmutableSet<const Stmt *>::Factory SSetFact;
105 llvm::DenseMap<const Stmt *, LiveVariables::LivenessValues> stmtsToLiveness;
135 bool LiveVariables::LivenessValues::isLive(const Stmt *S) const {
162 llvm::ImmutableSetRef<const Stmt *>
197 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) {
201 bool LiveVariables::isLive(const Stmt *Loc, const Stmt *S) {
229 void Visit(Stmt *S);
246 static const Stmt *LookThroughStmt(const Stmt *S)
    [all...]
ReachableCode.cpp 34 typedef SmallVector<std::pair<const CFGBlock *, const Stmt *>, 12>
50 const Stmt *findDeadCode(const CFGBlock *Block);
52 void reportDeadCode(const Stmt *S,
88 static bool isValidDeadStmt(const Stmt *S) {
96 const Stmt *DeadCodeScan::findDeadCode(const clang::CFGBlock *Block) {
99 const Stmt *S = CS->getStmt();
105 const Stmt *S = T.getStmt();
115 ((const std::pair<const CFGBlock *, const Stmt *>*) p2)->second->getLocStart() <
116 ((const std::pair<const CFGBlock *, const Stmt *>*) p1)->second->getLocStart();
134 const Stmt *S = findDeadCode(Block)
    [all...]
CFG.cpp 63 const Stmt *stmt) const;
237 llvm::SmallVector<Stmt *, 12> childrenBuf;
238 ArrayRef<Stmt*> children;
240 reverse_children(Stmt *S);
242 typedef ArrayRef<Stmt*>::reverse_iterator iterator;
248 reverse_children::reverse_children(Stmt *S) {
255 case Stmt::InitListExprClass: {
257 children = llvm::makeArrayRef(reinterpret_cast<Stmt**>(IE->getInits()),
266 for (Stmt::child_range I = S->children(); I; ++I)
3534 const Stmt *stmt= SE->getStmt(); local
    [all...]
  /external/clang/include/clang/AST/
ASTImporter.h 33 class Stmt;
65 llvm::DenseMap<Stmt *, Stmt *> ImportedStmts;
143 Stmt *Import(Stmt *FromS);
ASTTypeTraits.h 19 #include "clang/AST/Stmt.h"
52 /// (like \c Stmt and \c Decl) the returned pointer points to the
91 llvm::AlignedCharArrayUnion<Decl *, Stmt *, NestedNameSpecifier,
112 typename llvm::enable_if<llvm::is_base_of<Stmt, T> >::type> {
115 return dyn_cast<T>(*reinterpret_cast<Stmt*const*>(Storage));
118 static DynTypedNode create(const Stmt &Node) {
121 new (Result.Storage.buffer) const Stmt*(&Node);
203 case NT_Stmt: return BaseConverter<Stmt>::get(Tag, Storage.buffer);
  /external/clang/lib/AST/
StmtProfile.cpp 1 //===---- StmtProfile.cpp - Profile implementation for Stmt ASTs ----------===//
10 // This file implements the Stmt::Profile method, which builds a unique bit
36 void VisitStmt(const Stmt *S);
38 #define STMT(Node, Base) void Visit##Node(const Node *S);
70 void StmtProfiler::VisitStmt(const Stmt *S) {
72 for (Stmt::const_child_range C = S->children(); C; ++C) {
499 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S,
517 return Stmt::UnaryOperatorClass;
521 return Stmt::BinaryOperatorClass;
526 return Stmt::UnaryOperatorClass
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
Environment.h 1 //== Environment.h - Map from Stmt* to Locations/Values ---------*- C++ -*--==//
30 /// An entry in the environment consists of a Stmt and an LocationContext.
34 class EnvironmentEntry : public std::pair<const Stmt*,
37 EnvironmentEntry(const Stmt *s, const LocationContext *L);
39 const Stmt *getStmt() const { return first; }
SubEngine.h 25 class Stmt;
68 virtual void processBranch(const Stmt *Condition, const Stmt *Term,
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 10 // This file implements stmt-related attribute processing.
27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,

Completed in 1431 milliseconds

12 3 4 5 6 7 8 9