Remove a redundant check. NFC
llvm-svn: 251116
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user