]> granicus.if.org Git - clang/commitdiff
Tweak wording in an assertion, from dawn@burble.org.
authorDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 14:07:34 +0000 (14:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 14:07:34 +0000 (14:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112182 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/Preprocessor.cpp

index a23290e952e39c58d7ca282791a8f5eb1c08941e..5160acf19e1f4bad27e7618ba088ee73fdeab85d 100644 (file)
@@ -531,7 +531,7 @@ void Preprocessor::EnterMainSourceFile() {
   // Preprocess Predefines to populate the initial preprocessor state.
   llvm::MemoryBuffer *SB =
     llvm::MemoryBuffer::getMemBufferCopy(Predefines, "<built-in>");
-  assert(SB && "Cannot fail to create predefined source buffer");
+  assert(SB && "Cannot create predefined source buffer");
   FileID FID = SourceMgr.createFileIDForMemBuffer(SB);
   assert(!FID.isInvalid() && "Could not create FileID for predefines?");