Chris Lattner | 4b00965 | 2007-07-25 00:24:17 +0000 | [diff] [blame^] | 1 | //===--- ASTStreamers.h - ASTStreamer Drivers -------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Bill Wendling and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // AST Streamers. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef DRIVER_ASTSTREAMERS_H_ |
| 15 | #define DRIVER_ASTSTREAMERS_H_ |
| 16 | |
| 17 | namespace clang { |
| 18 | |
| 19 | class Preprocessor; |
| 20 | class FunctionDecl; |
| 21 | class TypedefDecl; |
| 22 | |
| 23 | void BuildASTs(Preprocessor &PP, unsigned MainFileID, bool Stats); |
| 24 | void PrintASTs(Preprocessor &PP, unsigned MainFileID, bool Stats); |
| 25 | void PrintFunctionDecl(FunctionDecl *FD); |
| 26 | void PrintTypeDefDecl(TypedefDecl *TD); |
| 27 | |
| 28 | } // end clang namespace |
| 29 | |
| 30 | #endif |