]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/llvm/tools/clang/include/clang/Rewrite/Rewriters.h
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / contrib / llvm / tools / clang / include / clang / Rewrite / Rewriters.h
1 //===--- Rewriters.h - Rewriter implementations     -------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 //  This header contains miscellaneous utilities for various front-end actions.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_CLANG_REWRITE_REWRITERS_H
15 #define LLVM_CLANG_REWRITE_REWRITERS_H
16
17 #include "clang/Basic/LLVM.h"
18
19 namespace clang {
20 class Preprocessor;
21
22 /// RewriteMacrosInInput - Implement -rewrite-macros mode.
23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
24
25 /// DoRewriteTest - A simple test for the TokenRewriter class.
26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
27
28 }  // end namespace clang
29
30 #endif