hanchenye-llvm-project/clang/Driver/ASTStreamers.h

31 lines
874 B
C++

//===--- ASTStreamers.h - ASTStreamer Drivers -------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Bill Wendling and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// AST Streamers.
//
//===----------------------------------------------------------------------===//
#ifndef DRIVER_ASTSTREAMERS_H_
#define DRIVER_ASTSTREAMERS_H_
namespace clang {
class Preprocessor;
class FunctionDecl;
class TypedefDecl;
void BuildASTs(Preprocessor &PP, unsigned MainFileID, bool Stats);
void PrintASTs(Preprocessor &PP, unsigned MainFileID, bool Stats);
void PrintFunctionDecl(FunctionDecl *FD);
void PrintTypeDefDecl(TypedefDecl *TD);
} // end clang namespace
#endif