Skip to content

Commit 4fa5bd2

Browse files
committed
assert findbuffer
1 parent c2f904c commit 4fa5bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Basic/SourceLoc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ namespace {
482482

483483
std::optional<unsigned>
484484
SourceManager::findBufferContainingLocInternal(SourceLoc Loc) const {
485-
assert(Loc.isValid());
485+
ASSERT(Loc.isValid());
486486

487487
// If the cache is out-of-date, update it now.
488488
unsigned numBuffers = LLVMSourceMgr.getNumBuffers();

0 commit comments

Comments
 (0)