r251116 - Remove a redundant check. NFC
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 23 09:51:33 PDT 2015
Author: adrian
Date: Fri Oct 23 11:51:32 2015
New Revision: 251116
URL: http://llvm.org/viewvc/llvm-project?rev=251116&view=rev
Log:
Remove a redundant check. NFC
Modified:
cfe/trunk/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
Modified: cfe/trunk/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/ObjectFilePCHContainerOperations.cpp?rev=251116&r1=251115&r2=251116&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/ObjectFilePCHContainerOperations.cpp (original)
+++ cfe/trunk/lib/CodeGen/ObjectFilePCHContainerOperations.cpp Fri Oct 23 11:51:32 2015
@@ -159,8 +159,7 @@ public:
}
bool HandleTopLevelDecl(DeclGroupRef D) override {
- if (Diags.hasErrorOccurred() ||
- (CodeGenOpts.getDebugInfo() == CodeGenOptions::NoDebugInfo))
+ if (Diags.hasErrorOccurred())
return true;
// Collect debug info for all decls in this group.
More information about the cfe-commits
mailing list