r247448 - Remove an unnecessary check. NFC
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 11 11:54:31 PDT 2015
Author: adrian
Date: Fri Sep 11 13:54:31 2015
New Revision: 247448
URL: http://llvm.org/viewvc/llvm-project?rev=247448&view=rev
Log:
Remove an unnecessary check. NFC
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=247448&r1=247447&r2=247448&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Sep 11 13:54:31 2015
@@ -2129,7 +2129,7 @@ ObjCInterfaceDecl *CGDebugInfo::getObjCI
}
llvm::DIModule *CGDebugInfo::getParentModuleOrNull(const Decl *D) {
- if (!DebugTypeExtRefs || !D || !D->isFromASTFile())
+ if (!DebugTypeExtRefs || !D->isFromASTFile())
return nullptr;
llvm::DIModule *ModuleRef = nullptr;
More information about the cfe-commits
mailing list