[cfe-commits] r107064 - /cfe/trunk/lib/Frontend/InitPreprocessor.cpp

Ted Kremenek kremenek at apple.com
Mon Jun 28 13:44:49 PDT 2010


Author: kremenek
Date: Mon Jun 28 15:44:49 2010
New Revision: 107064

URL: http://llvm.org/viewvc/llvm-project?rev=107064&view=rev
Log:
Remove state assertion.

Modified:
    cfe/trunk/lib/Frontend/InitPreprocessor.cpp

Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitPreprocessor.cpp?rev=107064&r1=107063&r2=107064&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitPreprocessor.cpp (original)
+++ cfe/trunk/lib/Frontend/InitPreprocessor.cpp Mon Jun 28 15:44:49 2010
@@ -83,7 +83,6 @@
 static void AddImplicitIncludePTH(MacroBuilder &Builder, Preprocessor &PP,
                                   llvm::StringRef ImplicitIncludePTH) {
   PTHManager *P = PP.getPTHManager();
-  assert(P && "No PTHManager.");
   // Null check 'P' in the corner case where it couldn't be created.
   const char *OriginalFile = P ? P->getOriginalSourceFile() : 0;
 





More information about the cfe-commits mailing list