diff options
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 36e80c91cf..691f46ac2d 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -117,17 +117,6 @@ Preprocessor::~Preprocessor() { delete Callbacks; } -bool Preprocessor::isSystemHeader(const FileEntry* F) const { - if (F) { - DirectoryLookup::DirType DirInfo = HeaderInfo.getFileDirFlavor(F); - if (DirInfo == DirectoryLookup::SystemHeaderDir || - DirInfo == DirectoryLookup::ExternCSystemHeaderDir) - return true; - } - return false; -} - - /// Diag - Forwarding function for diagnostics. This emits a diagnostic at /// the specified Token's location, translating the token's start /// position in the current buffer into a SourcePosition object for rendering. |