HomeSort by relevance Sort by last modified time
    Searched refs:Stmt (Results 1 - 25 of 370) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/include/clang/AST/
ParentMap.h 18 class Stmt;
24 ParentMap(Stmt* ASTRoot);
28 /// stmt tree of S. All children of S including indirect descendants are
30 void addStmt(Stmt* S);
35 void setParent(const Stmt *S, const Stmt *Parent);
37 Stmt *getParent(Stmt*) const;
38 Stmt *getParentIgnoreParens(Stmt *) const
    [all...]
StmtGraphTraits.h 1 //===--- StmtGraphTraits.h - Graph Traits for the class Stmt ----*- C++ -*-===//
11 // treat ASTs (Stmt*) as graphs
18 #include "clang/AST/Stmt.h"
27 template <> struct GraphTraits<clang::Stmt*> {
28 typedef clang::Stmt NodeType;
29 typedef clang::Stmt::child_iterator ChildIteratorType;
30 typedef llvm::df_iterator<clang::Stmt*> nodes_iterator;
32 static NodeType* getEntryNode(clang::Stmt* S) { return S; }
44 static nodes_iterator nodes_begin(clang::Stmt* S) {
48 static nodes_iterator nodes_end(clang::Stmt* S)
    [all...]
StmtObjC.h 16 #include "clang/AST/Stmt.h"
23 /// This is represented as 'for (element 'in' collection-expression)' stmt.
24 class ObjCForCollectionStmt : public Stmt {
26 Stmt* SubExprs[END_EXPR]; // SubExprs[ELEM] is an expression or declstmt.
30 ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, Stmt *Body,
33 Stmt(ObjCForCollectionStmtClass, Empty) { }
35 Stmt *getElement() { return SubExprs[ELEM]; }
39 Stmt *getBody() { return SubExprs[BODY]; }
41 const Stmt *getElement() const { return SubExprs[ELEM];
    [all...]
StmtCXX.h 20 #include "clang/AST/Stmt.h"
29 class CXXCatchStmt : public Stmt {
34 Stmt *HandlerBlock;
37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock)
38 : Stmt(CXXCatchStmtClass), CatchLoc(catchLoc), ExceptionDecl(exDecl),
42 : Stmt(CXXCatchStmtClass), ExceptionDecl(nullptr), HandlerBlock(nullptr) {}
52 Stmt *getHandlerBlock() const { return HandlerBlock; }
54 static bool classof(const Stmt *T) {
65 class CXXTryStmt : public Stmt {
69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers)
    [all...]
StmtIterator.h 26 class Stmt;
36 Stmt **stmt; member in union:clang::StmtIteratorBase::__anon13502
67 Stmt*& GetDeclExpr() const;
69 StmtIteratorBase(Stmt **s) : stmt(s), RawVAPtr(0) {}
72 StmtIteratorBase() : stmt(nullptr), RawVAPtr(0) {}
85 StmtIteratorImpl(Stmt **s) : StmtIteratorBase(s) {}
91 ++stmt;
107 return stmt == RHS.stmt && DGI == RHS.DGI && RawVAPtr == RHS.RawVAPtr
    [all...]
Stmt.h 1 //===--- Stmt.h - Classes for representing statements -----------*- C++ -*-===//
10 // This file defines the Stmt interface and subclasses.
57 /// Stmt - This represents one statement.
59 class LLVM_ALIGNAS(LLVM_PTR_SIZE) Stmt {
63 #define STMT(CLASS, PARENT) CLASS##Class,
68 #define ABSTRACT_STMT(STMT)
82 friend class Stmt;
301 /// Iterator for iterating over Stmt * arrays that contain only Expr *
303 /// This is needed because AST nodes use Stmt* arrays to store
306 : llvm::iterator_adaptor_base<ExprIterator, Stmt **,
    [all...]
  /external/clang/include/clang/Analysis/
CodeInjector.h 22 class Stmt;
41 virtual Stmt *getBody(const FunctionDecl *D) = 0;
42 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
CFGStmtMap.h 1 //===--- CFGStmtMap.h - Map from Stmt* to CFGBlock* -----------*- C++ -*-===//
11 // Stmt* to CFGBlock*
25 class Stmt;
40 /// Returns the CFGBlock the specified Stmt* appears in. For Stmt* that
44 CFGBlock *getBlock(Stmt * S);
46 const CFGBlock *getBlock(const Stmt * S) const {
47 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S));
  /external/clang/include/clang/StaticAnalyzer/Frontend/
ModelConsumer.h 24 class Stmt;
34 ModelConsumer(llvm::StringMap<Stmt *> &Bodies);
39 llvm::StringMap<Stmt *> &Bodies;
FrontendActions.h 19 class Stmt;
43 ParseModelFileAction(llvm::StringMap<Stmt *> &Bodies);
51 llvm::StringMap<Stmt *> &Bodies;
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CheckerHelpers.h 17 #include "clang/AST/Stmt.h"
27 bool containsMacro(const Stmt *S);
28 bool containsEnum(const Stmt *S);
29 bool containsStaticLocal(const Stmt *S);
30 bool containsBuiltinOffsetOf(const Stmt *S);
31 template <class T> bool containsStmt(const Stmt *S) {
35 for (const Stmt *Child : S->children())
43 parseAssignment(const Stmt *S);
LoopWidening.h 31 unsigned BlockCount, const Stmt *LoopStmt);
  /build/kati/
file.h 25 struct Stmt;
35 const vector<Stmt*>& stmts() const { return stmts_; }
36 vector<Stmt*>* mutable_stmts() { return &stmts_; }
44 vector<Stmt*> stmts_;
stmt.h 50 struct Stmt {
52 virtual ~Stmt();
63 Stmt();
70 struct RuleStmt : public Stmt {
82 struct AssignStmt : public Stmt {
104 struct CommandStmt : public Stmt {
115 struct IfStmt : public Stmt {
119 vector<Stmt*> true_stmts;
120 vector<Stmt*> false_stmts;
129 struct IncludeStmt : public Stmt {
    [all...]
  /external/clang/lib/Analysis/
BodyFarm.h 29 class Stmt;
37 Stmt *getBody(const FunctionDecl *D);
40 Stmt *getBody(const ObjCMethodDecl *D);
43 typedef llvm::DenseMap<const Decl *, Optional<Stmt *> > BodyMap;
  /external/clang/lib/AST/
StmtObjC.cpp 10 // This file implements the subclesses of Stmt class declared in StmtObjC.h
21 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect,
22 Stmt *Body, SourceLocation FCL,
24 : Stmt(ObjCForCollectionStmtClass) {
32 ObjCAtTryStmt::ObjCAtTryStmt(SourceLocation atTryLoc, Stmt *atTryStmt,
33 Stmt **CatchStmts, unsigned NumCatchStmts,
34 Stmt *atFinallyStmt)
35 : Stmt(ObjCAtTryStmtClass), AtTryLoc(atTryLoc),
37 Stmt **Stmts = getStmts();
47 SourceLocation atTryLoc, Stmt *atTryStmt
    [all...]
ParentMap.cpp 22 typedef llvm::DenseMap<Stmt*, Stmt*> MapTy;
29 static void BuildParentMap(MapTy& M, Stmt* S,
35 case Stmt::PseudoObjectExprClass: {
41 for (Stmt *SubStmt : S->children())
55 case Stmt::BinaryConditionalOperatorClass: {
73 case Stmt::OpaqueValueExprClass: {
87 for (Stmt *SubStmt : S->children()) {
97 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) {
109 void ParentMap::addStmt(Stmt* S)
    [all...]
  /external/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.h 46 Stmt *getBody(const FunctionDecl *D) override;
47 Stmt *getBody(const ObjCMethodDecl *D) override;
69 llvm::StringMap<Stmt *> Bodies;
  /frameworks/compile/slang/
slang_rs_ast_replace.h 28 class Stmt;
36 clang::Stmt *mOuterStmt;
37 clang::Stmt *mOldStmt;
38 clang::Stmt *mNewStmt;
51 inline bool matchesStmt(const clang::Stmt *S) const {
68 void VisitStmt(clang::Stmt *S);
82 clang::Stmt *OuterStmt,
83 clang::Stmt *OldStmt,
84 clang::Stmt *NewStmt);
  /external/clang/tools/libclang/
CXCursor.cpp 105 CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent,
112 case Stmt::NoStmtClass:
115 case Stmt::CaseStmtClass:
119 case Stmt::DefaultStmtClass:
123 case Stmt::IfStmtClass:
127 case Stmt::SwitchStmtClass:
131 case Stmt::WhileStmtClass:
135 case Stmt::DoStmtClass:
139 case Stmt::ForStmtClass:
143 case Stmt::GotoStmtClass
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
LiveVariables.h 26 class Stmt;
35 llvm::ImmutableSet<const Stmt *> liveStmts;
43 LivenessValues(llvm::ImmutableSet<const Stmt *> LiveStmts,
47 bool isLive(const Stmt *S) const;
60 virtual void observeStmt(const Stmt *S,
83 bool isLive(const Stmt *S, const VarDecl *D);
87 bool isLive(const Stmt *Loc, const Stmt *StmtVal);
PseudoConstantAnalysis.h 19 #include "clang/AST/Stmt.h"
25 PseudoConstantAnalysis(const Stmt *DeclBody);
39 const Stmt *DeclBody;
  /external/clang/lib/Tooling/
RefactoringCallbacks.cpp 24 const Stmt &From,
30 const Stmt &From,
31 const Stmt &To) {
42 if (const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId)) {
55 const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId);
56 const Stmt *ToMatch = Result.Nodes.getStmtAs<Stmt>(ToId);
69 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse()
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
Environment.cpp 1 //== Environment.cpp - Map from Stmt* to Locations/Values -------*- C++ -*--==//
28 case Stmt::OpaqueValueExprClass:
31 case Stmt::ExprWithCleanupsClass:
34 case Stmt::CXXBindTemporaryExprClass:
37 case Stmt::SubstNonTypeTemplateParmExprClass:
48 static const Stmt *ignoreTransparentExprs(const Stmt *S) {
54 EnvironmentEntry::EnvironmentEntry(const Stmt *S, const LocationContext *L)
55 : std::pair<const Stmt *,
71 const Stmt *S = Entry.getStmt()
    [all...]
CheckerHelpers.cpp 19 bool clang::ento::containsMacro(const Stmt *S) {
26 for (const Stmt *Child : S->children())
34 bool clang::ento::containsEnum(const Stmt *S) {
40 for (const Stmt *Child : S->children())
48 bool clang::ento::containsStaticLocal(const Stmt *S) {
56 for (const Stmt *Child : S->children())
64 bool clang::ento::containsBuiltinOffsetOf(const Stmt *S) {
68 for (const Stmt *Child : S->children())
77 clang::ento::parseAssignment(const Stmt *S) {

Completed in 372 milliseconds

1 2 3 4 5 6 7 8 91011>>