PreprocessorOutputOptions.h (218893) | PreprocessorOutputOptions.h (239462) |
---|---|
1//===--- PreprocessorOutputOptions.h ----------------------------*- 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//===----------------------------------------------------------------------===// --- 4 unchanged lines hidden (view full) --- 13namespace clang { 14 15/// PreprocessorOutputOptions - Options for controlling the C preprocessor 16/// output (e.g., -E). 17class PreprocessorOutputOptions { 18public: 19 unsigned ShowCPP : 1; ///< Print normal preprocessed output. 20 unsigned ShowComments : 1; ///< Show comments. | 1//===--- PreprocessorOutputOptions.h ----------------------------*- 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//===----------------------------------------------------------------------===// --- 4 unchanged lines hidden (view full) --- 13namespace clang { 14 15/// PreprocessorOutputOptions - Options for controlling the C preprocessor 16/// output (e.g., -E). 17class PreprocessorOutputOptions { 18public: 19 unsigned ShowCPP : 1; ///< Print normal preprocessed output. 20 unsigned ShowComments : 1; ///< Show comments. |
21 unsigned ShowLineMarkers : 1; ///< Show #line markers. | 21 unsigned ShowLineMarkers : 1; ///< Show \#line markers. |
22 unsigned ShowMacroComments : 1; ///< Show comments, even in macros. 23 unsigned ShowMacros : 1; ///< Print macro definitions. | 22 unsigned ShowMacroComments : 1; ///< Show comments, even in macros. 23 unsigned ShowMacros : 1; ///< Print macro definitions. |
24 unsigned RewriteIncludes : 1; ///< Preprocess include directives only. |
|
24 25public: 26 PreprocessorOutputOptions() { 27 ShowCPP = 1; 28 ShowComments = 0; 29 ShowLineMarkers = 1; 30 ShowMacroComments = 0; 31 ShowMacros = 0; | 25 26public: 27 PreprocessorOutputOptions() { 28 ShowCPP = 1; 29 ShowComments = 0; 30 ShowLineMarkers = 1; 31 ShowMacroComments = 0; 32 ShowMacros = 0; |
33 RewriteIncludes = 0; |
|
32 } 33}; 34 35} // end namespace clang 36 37#endif | 34 } 35}; 36 37} // end namespace clang 38 39#endif |