clang API Documentation

Rewriters.h
Go to the documentation of this file.
00001 //===--- Rewriters.h - Rewriter implementations     -------------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 //  This header contains miscellaneous utilities for various front-end actions.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #ifndef LLVM_CLANG_REWRITE_REWRITERS_H
00015 #define LLVM_CLANG_REWRITE_REWRITERS_H
00016 
00017 #include "clang/Basic/LLVM.h"
00018 
00019 namespace clang {
00020 class Preprocessor;
00021 
00022 /// RewriteMacrosInInput - Implement -rewrite-macros mode.
00023 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS);
00024 
00025 /// DoRewriteTest - A simple test for the TokenRewriter class.
00026 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS);
00027 
00028 }  // end namespace clang
00029 
00030 #endif