Fix warning when building w/o asserts.

llvm-svn: 74020
This commit is contained in:
Daniel Dunbar 2009-06-23 23:09:58 +00:00
parent fb1ad4f6ec
commit 349db7bbcd
1 changed files with 1 additions and 0 deletions

View File

@ -1047,6 +1047,7 @@ bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS,
// FIXME: Should there be a way to "include" memory buffers in the translation
// unit ?
assert((LEntry != 0 || REntry != 0) && "Locations in memory buffers.");
(void) REntry;
// Consider the memory buffer as coming before the file in the translation
// unit.