1 //===--- PreprocessorOutputOptions.h ----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_FRONTEND_PREPROCESSOROUTPUTOPTIONS_H
11 #define LLVM_CLANG_FRONTEND_PREPROCESSOROUTPUTOPTIONS_H
15 /// PreprocessorOutputOptions - Options for controlling the C preprocessor
16 /// output (e.g., -E).
17 class PreprocessorOutputOptions {
19 unsigned ShowCPP : 1; ///< Print normal preprocessed output.
20 unsigned ShowComments : 1; ///< Show comments.
21 unsigned ShowLineMarkers : 1; ///< Show \#line markers.
22 unsigned ShowMacroComments : 1; ///< Show comments, even in macros.
23 unsigned ShowMacros : 1; ///< Print macro definitions.
24 unsigned RewriteIncludes : 1; ///< Preprocess include directives only.
27 PreprocessorOutputOptions() {
31 ShowMacroComments = 0;
37 } // end namespace clang