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

1 2 3

  /external/clang/include/clang/AST/
StmtCXX.h 130 // SubExprs[RANGE] is an expression or declstmt.
137 CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEnd,
138 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body,
150 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); }
151 DeclStmt *getBeginEndStmt() {
152 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]);
156 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]);
    [all...]
Stmt.h 443 /// DeclStmt - Adaptor class for mixing declarations with statements and
448 class DeclStmt : public Stmt {
453 DeclStmt(DeclGroupRef dg, SourceLocation startLoc,
458 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { }
460 /// isSingleDecl - This method returns true if this DeclStmt refers
876 /// If this IfStmt has a condition variable, return the faux DeclStmt
878 const DeclStmt *getConditionVariableDeclStmt() const {
879 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]);
949 /// If this SwitchStmt has a condition variable, return the faux DeclStmt
951 const DeclStmt *getConditionVariableDeclStmt() const
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefinedAssignmentChecker.cpp 70 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) {
CheckerDocumentation.cpp 38 check::PostStmt<DeclStmt>,
79 /// check::PostStmt<DeclStmt>
80 void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const;
294 void CheckerDocumentation::checkPostStmt(const DeclStmt *DS,
VLASizeChecker.cpp 31 class VLASizeChecker : public Checker< check::PreStmt<DeclStmt> > {
40 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const;
78 void VLASizeChecker::checkPreStmt(const DeclStmt *DS, CheckerContext &C) const {
LLVMConventionsChecker.cpp 130 void VisitDeclStmt(DeclStmt *DS);
141 void StringRefCheckerVisitor::VisitDeclStmt(DeclStmt *S) {
144 for (DeclStmt::decl_iterator I = S->decl_begin(), E = S->decl_end();I!=E; ++I)
DereferenceChecker.cpp 116 } else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
MallocSizeofChecker.cpp 103 TypeCallPair VisitDeclStmt(const DeclStmt *S) {
104 for (DeclStmt::const_decl_iterator I = S->decl_begin(), E = S->decl_end();
DeadStoresChecker.cpp 305 else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S))
308 for (DeclStmt::const_decl_iterator DI=DS->decl_begin(), DE=DS->decl_end();
  /frameworks/compile/slang/
slang_rs_check_ast.h 52 void VisitDeclStmt(clang::DeclStmt *DS);
slang_rs_object_ref_count.h 65 clang::DeclStmt *DS,
140 void VisitDeclStmt(clang::DeclStmt *DS);
slang_rs_check_ast.cpp 115 void RSCheckAST::VisitDeclStmt(clang::DeclStmt *DS) {
117 for (clang::DeclStmt::decl_iterator I = DS->decl_begin(),
  /external/clang/include/clang/Analysis/Visitors/
CFGRecStmtDeclVisitor.h 45 void VisitDeclStmt(DeclStmt *DS) {
46 for (DeclStmt::decl_iterator DI = DS->decl_begin(), DE = DS->decl_end();
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 172 const DeclStmt *DS = cast<DeclStmt>(Head);
174 for (DeclStmt::const_decl_iterator I = DS->decl_begin(),
LiveVariables.cpp 225 void VisitDeclStmt(DeclStmt *DS);
306 const DeclStmt *DS = cast<DeclStmt>(S);
392 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
393 for (DeclStmt::decl_iterator DI=DS->decl_begin(), DE = DS->decl_end();
407 if (DeclStmt *DS = dyn_cast<DeclStmt>(element)) {
UninitializedValues.cpp 327 void VisitDeclStmt(DeclStmt *DS);
376 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) {
377 for (DeclStmt::decl_iterator DI = DS->decl_begin(), DE = DS->decl_end();
457 void VisitDeclStmt(DeclStmt *ds);
610 if (DeclStmt *DS = dyn_cast<DeclStmt>(FS->getElement())) {
679 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
680 for (DeclStmt::decl_iterator DI = DS->decl_begin(), DE = DS->decl_end();
CFG.cpp 372 CFGBlock *VisitDeclStmt(DeclStmt *DS);
373 CFGBlock *VisitDeclSubExpr(DeclStmt *DS);
443 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS, LocalScope* Scope = NULL);
930 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI))
937 // interesting only for DeclStmt
    [all...]
  /external/clang/lib/AST/
StmtPrinter.cpp 67 void PrintRawDeclStmt(const DeclStmt *S);
127 void StmtPrinter::PrintRawDeclStmt(const DeclStmt *S) {
128 DeclStmt::const_decl_iterator Begin = S->decl_begin(), End = S->decl_end();
140 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) {
193 if (const DeclStmt *DS = If->getConditionVariableDeclStmt())
233 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt())
252 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt())
279 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit()))
307 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getElement())
    [all...]
Stmt.cpp 798 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEndStmt,
799 Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
812 DeclStmt *RangeStmt = getRangeStmt();
823 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl();
846 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]);
857 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
877 DeclStmt *DS = cast<DeclStmt>(SubExprs[CONDVAR])
    [all...]
  /external/clang/lib/ARCMigrate/
TransRetainReleaseDealloc.cpp 235 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
371 DeclStmt *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild);
TransAutoreleasePool.cpp 170 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) {
420 DeclStmt *Dcl;
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineObjC.cpp 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(elem)) {
ExprEngineCXX.cpp 118 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StmtElem->getStmt())) {
  /external/clang/tools/libclang/
IndexBody.cpp 131 bool VisitDeclStmt(DeclStmt *S) {
  /external/clang/include/clang/ASTMatchers/
ASTMatchers.h 527 /// declStmt()
531 DeclStmt> declStmt;
782 /// forStmt(hasLoopInit(declStmt()))
    [all...]

Completed in 175 milliseconds

1 2 3