Home | History | Annotate | Download | only in AST

Lines Matching defs:DeclStmt

462 /// DeclStmt - Adaptor class for mixing declarations with statements and
467 class DeclStmt : public Stmt {
472 DeclStmt(DeclGroupRef dg, SourceLocation startLoc,
477 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { }
479 /// isSingleDecl - This method returns true if this DeclStmt refers
932 /// If this IfStmt has a condition variable, return the faux DeclStmt
934 const DeclStmt *getConditionVariableDeclStmt() const {
935 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]);
1011 /// If this SwitchStmt has a condition variable, return the faux DeclStmt
1013 const DeclStmt *getConditionVariableDeclStmt() const {
1014 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]);
1095 /// If this WhileStmt has a condition variable, return the faux DeclStmt
1097 const DeclStmt *getConditionVariableDeclStmt() const {
1098 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]);
1182 Stmt* SubExprs[END_EXPR]; // SubExprs[INIT] is an expression or declstmt.
1206 /// If this ForStmt has a condition variable, return the faux DeclStmt
1208 const DeclStmt *getConditionVariableDeclStmt() const {
1209 return reinterpret_cast<DeclStmt*>(SubExprs[CONDVAR]);