//===--- StmtPrinter.cpp - Printing implementation for Stmt ASTs ----------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements the Stmt::dumpPretty/Stmt::printPretty methods, which// pretty print the AST back out to C code.////===----------------------------------------------------------------------===//#include"clang/AST/StmtVisitor.h"#include"clang/AST/DeclCXX.h"#include"clang/AST/DeclObjC.h"#include"clang/AST/DeclTemplate.h"#include"clang/AST/PrettyPrinter.h"#include"llvm/Support/Format.h"#include"clang/AST/Expr.h"#include"clang/AST/ExprCXX.h"usingnamespaceclang;//===----------------------------------------------------------------------===//// StmtPrinter Visitor//===----------------------------------------------------------------------===//namespace{classStmtPrinter