diff options
Diffstat (limited to 'clang/Lex/Preprocessor.cpp')
| -rw-r--r-- | clang/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp index 39b2572a5ab..9884eb25c9f 100644 --- a/clang/Lex/Preprocessor.cpp +++ b/clang/Lex/Preprocessor.cpp @@ -411,7 +411,7 @@ void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, CurMacroExpander = 0; // Notify the client, if desired, that we are in a new source file. - if (FileChangeHandler) { + if (FileChangeHandler && !CurLexer->Is_PragmaLexer) { DirectoryLookup::DirType FileType = DirectoryLookup::NormalHeaderDir; // Get the file entry for the current file. |

