clang 20.0.0git
|
PreprocessorOutputOptions - Options for controlling the C preprocessor output (e.g., -E). More...
#include "clang/Frontend/PreprocessorOutputOptions.h"
Public Member Functions | |
PreprocessorOutputOptions () | |
Public Attributes | |
unsigned | ShowCPP: 1 |
Print normal preprocessed output. | |
unsigned | ShowComments: 1 |
Show comments. | |
unsigned | ShowLineMarkers: 1 |
Show #line markers. | |
unsigned | UseLineDirectives: 1 |
Use #line instead of GCC-style # N. | |
unsigned | ShowMacroComments: 1 |
Show comments, even in macros. | |
unsigned | ShowMacros: 1 |
Print macro definitions. | |
unsigned | ShowIncludeDirectives: 1 |
Print includes, imports etc. within preprocessed output. | |
unsigned | ShowEmbedDirectives: 1 |
Print embeds, etc. within preprocessed. | |
unsigned | RewriteIncludes: 1 |
Preprocess include directives only. | |
unsigned | RewriteImports: 1 |
Include contents of transitively-imported modules. | |
unsigned | MinimizeWhitespace: 1 |
Ignore whitespace from input. | |
unsigned | DirectivesOnly: 1 |
Process directives but do not expand macros. | |
unsigned | KeepSystemIncludes: 1 |
Do not expand system headers. | |
PreprocessorOutputOptions - Options for controlling the C preprocessor output (e.g., -E).
Definition at line 18 of file PreprocessorOutputOptions.h.
|
inline |
Definition at line 48 of file PreprocessorOutputOptions.h.
References DirectivesOnly, KeepSystemIncludes, MinimizeWhitespace, RewriteImports, RewriteIncludes, ShowComments, ShowCPP, ShowEmbedDirectives, ShowIncludeDirectives, ShowLineMarkers, ShowMacroComments, ShowMacros, and UseLineDirectives.
unsigned clang::PreprocessorOutputOptions::DirectivesOnly |
Process directives but do not expand macros.
Definition at line 43 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), GeneratePreprocessorOutputArgs(), ParsePreprocessorOutputArgs(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::KeepSystemIncludes |
Do not expand system headers.
Definition at line 45 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::MinimizeWhitespace |
Ignore whitespace from input.
Definition at line 41 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::RewriteImports |
Include contents of transitively-imported modules.
Definition at line 39 of file PreprocessorOutputOptions.h.
Referenced by clang::RewriteIncludesAction::BeginSourceFileAction(), clang::CreateFrontendBaseAction(), clang::RewriteIncludesAction::ExecuteAction(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::RewriteIncludes |
Preprocess include directives only.
Definition at line 37 of file PreprocessorOutputOptions.h.
Referenced by clang::CreateFrontendBaseAction(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::ShowComments |
Show comments.
Definition at line 23 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::ShowCPP |
Print normal preprocessed output.
Definition at line 21 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), GeneratePreprocessorOutputArgs(), ParsePreprocessorOutputArgs(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::ShowEmbedDirectives |
Print embeds, etc. within preprocessed.
Definition at line 35 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::ShowIncludeDirectives |
Print includes, imports etc. within preprocessed output.
Definition at line 33 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::ShowLineMarkers |
Show #line markers.
Definition at line 25 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), PreprocessorOutputOptions(), and clang::RewriteIncludesInInput().
unsigned clang::PreprocessorOutputOptions::ShowMacroComments |
Show comments, even in macros.
Definition at line 29 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::ShowMacros |
Print macro definitions.
Definition at line 31 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), GeneratePreprocessorOutputArgs(), ParsePreprocessorOutputArgs(), and PreprocessorOutputOptions().
unsigned clang::PreprocessorOutputOptions::UseLineDirectives |
Use #line instead of GCC-style # N.
Definition at line 27 of file PreprocessorOutputOptions.h.
Referenced by clang::DoPrintPreprocessedInput(), PreprocessorOutputOptions(), and clang::RewriteIncludesInInput().