commit | dbd8209b33e6c9f151e4913a9c095d64a95439c4 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Tue Mar 23 05:09:10 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Tue Mar 23 05:09:10 2010 +0000 |
tree | cc208cfa59d9fb8a90daf856f96ab3d83c9184b8 | |
parent | d9e0c0fc47d5881a609ec34372d554e3652db66c [diff] [blame] |
PPCallbacks: Add hook for reaching the end of the main file, and fix DependencyFile to not do work in its destructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99257 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/PPLexerChange.cpp b/lib/Lex/PPLexerChange.cpp index 6d1c132..335d3db 100644 --- a/lib/Lex/PPLexerChange.cpp +++ b/lib/Lex/PPLexerChange.cpp
@@ -255,6 +255,7 @@ if (!I->second->isUsed()) Diag(I->second->getDefinitionLoc(), diag::pp_macro_not_used); } + return true; }