Lines Matching refs:Stmt
1 //===- StmtPrinter.cpp - Printing implementation for Stmt ASTs ------------===//
9 // This file implements the Stmt::dumpPretty/Stmt::printPretty methods, which
29 #include "clang/AST/Stmt.h"
82 void PrintStmt(Stmt *S) { PrintStmt(S, Policy.Indentation); }
84 void PrintStmt(Stmt *S, int SubIndent) {
99 void PrintInitStmt(Stmt *S, unsigned PrefixWidth) {
110 void PrintControlledStmt(Stmt *S) {
145 void Visit(Stmt* S) {
151 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED {
170 // Stmt printing methods.
258 if (Stmt *Else = If->getElse()) {
2541 // Stmt method implementations
2544 void Stmt::dumpPretty(const ASTContext &Context) const {
2548 void Stmt::printPretty(raw_ostream &Out, PrinterHelper *Helper,
2552 P.Visit(const_cast<Stmt *>(this));
2555 void Stmt::printJson(raw_ostream &Out, PrinterHelper *Helper,