|
|
|||
File indexing completed on 2026-05-10 08:36:59
0001 //===--- Rewriters.h - Rewriter implementations -------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 // 0009 // This header contains miscellaneous utilities for various front-end actions. 0010 // 0011 //===----------------------------------------------------------------------===// 0012 0013 #ifndef LLVM_CLANG_REWRITE_FRONTEND_REWRITERS_H 0014 #define LLVM_CLANG_REWRITE_FRONTEND_REWRITERS_H 0015 0016 #include "clang/Basic/LLVM.h" 0017 0018 namespace clang { 0019 class Preprocessor; 0020 class PreprocessorOutputOptions; 0021 0022 /// RewriteMacrosInInput - Implement -rewrite-macros mode. 0023 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS); 0024 0025 /// DoRewriteTest - A simple test for the TokenRewriter class. 0026 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS); 0027 0028 /// RewriteIncludesInInput - Implement -frewrite-includes mode. 0029 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS, 0030 const PreprocessorOutputOptions &Opts); 0031 0032 } // end namespace clang 0033 0034 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|