From 64acf1dd2fb06ac8aef976d79550d9e9958541ff Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 5 Nov 2009 01:53:12 +0000 Subject: [PATCH] CreatePreprocessor cannot fail git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86103 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/clang-cc/clang-cc.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index af34f4c791..3d44d6366a 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -2268,8 +2268,6 @@ int main(int argc, char **argv) { llvm::OwningPtr PP(CreatePreprocessor(Diags, LangInfo, *Target, *SourceMgr, HeaderInfo)); - if (!PP) - continue; // Handle generating dependencies, if requested. if (!DependencyFile.empty()) { -- 2.40.0