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
44 void PrintStmt(Stmt *S) {
48 void PrintStmt(Stmt *S, int SubIndent) {
51 // If this is an expr used in a stmt context, indent and newline it.
85 void Visit(Stmt* S) {
91 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED {
92 Indent() << "<<unknown stmt type>>\n";
100 #define STMT(CLASS, PARENT) \
107 // Stmt printing methods.
110 /// PrintRawCompoundStmt - Print a compound stmt without indenting the {, and
204 if (Stmt *Else = If->getElse()) {
1871 // Stmt method implementations
1874 void Stmt::dumpPretty(ASTContext& Context) const {
1879 void Stmt::printPretty(raw_ostream &OS, ASTContext& Context,
1894 P.Visit(const_cast<Stmt*>(this));