]> granicus.if.org Git - clang/commitdiff
Remove state assertion.
authorTed Kremenek <kremenek@apple.com>
Mon, 28 Jun 2010 20:44:49 +0000 (20:44 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 28 Jun 2010 20:44:49 +0000 (20:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107064 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/InitPreprocessor.cpp

index 349dd7bf985a65bfb1d8e377e11148bc74a32ec0..0745568cb549ade74d6589d0aff4783db7c89703 100644 (file)
@@ -83,7 +83,6 @@ static void AddImplicitIncludeMacros(MacroBuilder &Builder,
 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;