aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/PreprocessorOutputOptions.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-06-14 17:36:09 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-06-14 17:36:09 +0000
commitf1492f970c7c6eb85dc18f13fb864b185bed1d23 (patch)
tree875c38448273876073b53c0b8287d7135eba0b71 /include/clang/Frontend/PreprocessorOutputOptions.h
parentbae2b31822e3c2139b5f8fbb127e4c5674cce6db (diff)
Support -frewrite-includes as an option while preprocessing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PreprocessorOutputOptions.h')
-rw-r--r--include/clang/Frontend/PreprocessorOutputOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/PreprocessorOutputOptions.h b/include/clang/Frontend/PreprocessorOutputOptions.h
index 5ec1c26938..9793aa6fa7 100644
--- a/include/clang/Frontend/PreprocessorOutputOptions.h
+++ b/include/clang/Frontend/PreprocessorOutputOptions.h
@@ -21,6 +21,7 @@ public:
unsigned ShowLineMarkers : 1; ///< Show \#line markers.
unsigned ShowMacroComments : 1; ///< Show comments, even in macros.
unsigned ShowMacros : 1; ///< Print macro definitions.
+ unsigned RewriteIncludes : 1; ///< Preprocess include directives only.
public:
PreprocessorOutputOptions() {
@@ -29,6 +30,7 @@ public:
ShowLineMarkers = 1;
ShowMacroComments = 0;
ShowMacros = 0;
+ RewriteIncludes = 0;
}
};