Home | History | Annotate | Download | only in AST

Lines Matching refs:STMT

1 //===--- StmtPrinter.cpp - Printing implementation for Stmt ASTs ----------===//
10 // This file implements the Stmt::dumpPretty/Stmt::printPretty methods, which
47 void PrintStmt(Stmt *S) {
51 void PrintStmt(Stmt *S, int SubIndent) {
54 // If this is an expr used in a stmt context, indent and newline it.
89 void Visit(Stmt* S) {
95 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED {
96 Indent() << "<<unknown stmt type>>\n";
104 #define STMT(CLASS, PARENT) \
111 // Stmt printing methods.
114 /// PrintRawCompoundStmt - Print a compound stmt without indenting the {, and
197 if (Stmt *Else = If->getElse()) {
757 assert(*I && "Expected non-null Stmt");
921 Stmt *CS = cast<CapturedStmt>(S->getAssociatedStmt())->getCapturedStmt();
2428 // Stmt method implementations
2431 void Stmt::dumpPretty(const ASTContext &Context) const {
2435 void Stmt::printPretty(raw_ostream &OS,
2440 P.Visit(const_cast<Stmt*>(this));