diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-10 13:44:22 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-10 13:44:22 +0000 | 
| commit | 1b08b196ac845675036ac78f3ac927d0a37f707c (patch) | |
| tree | 1fbd923674e903831dc097fdb4fdfd64dd6e47b1 /include/clang/Lex/PreprocessorOptions.h | |
| parent | 551c698530debaae81139c7c76a29fb762793362 (diff) | |
Notes
Diffstat (limited to 'include/clang/Lex/PreprocessorOptions.h')
| -rw-r--r-- | include/clang/Lex/PreprocessorOptions.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Lex/PreprocessorOptions.h b/include/clang/Lex/PreprocessorOptions.h index c85d2384fa474..f536be8d8e691 100644 --- a/include/clang/Lex/PreprocessorOptions.h +++ b/include/clang/Lex/PreprocessorOptions.h @@ -95,6 +95,9 @@ public:    /// If given, a PTH cache file to use for speeding up header parsing.    std::string TokenCache; +  /// When enabled, preprocessor is in a mode for parsing a single file only. +  bool SingleFileParseMode = false; +    /// \brief True if the SourceManager should report the original file name for    /// contents of files that were remapped to other files. Defaults to true.    bool RemappedFilesKeepOriginalName; @@ -181,6 +184,7 @@ public:      ImplicitPCHInclude.clear();      ImplicitPTHInclude.clear();      TokenCache.clear(); +    SingleFileParseMode = false;      RetainRemappedFileBuffers = true;      PrecompiledPreambleBytes.first = 0;      PrecompiledPreambleBytes.second = 0;  | 
