]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/tools/clang/include/clang/Rewrite/Rewriters.h
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.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 "llvm/ADT/StringRef.h"
18 #include "llvm/Support/raw_ostream.h"
19
20 namespace clang {
21 class Preprocessor;
22
23 /// RewriteMacrosInInput - Implement -rewrite-macros mode.
24 void RewriteMacrosInInput(Preprocessor &PP, llvm::raw_ostream* OS);
25
26 /// DoRewriteTest - A simple test for the TokenRewriter class.
27 void DoRewriteTest(Preprocessor &PP, llvm::raw_ostream* OS);
28
29 }  // end namespace clang
30
31 #endif