From: Adrian Prantl Date: Thu, 21 Dec 2017 23:03:05 +0000 (+0000) Subject: Delete dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6de847a4e112fb6a448667a369ca38651b81fb1a;p=clang Delete dead code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321321 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index caea41ec0e..aeed4d658a 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -2653,7 +2653,6 @@ llvm::DIModule *CGDebugInfo::getParentModuleOrNull(const Decl *D) { // file where the type's definition is located, so it might be // best to make this behavior a command line or debugger tuning // option. - FullSourceLoc Loc(D->getLocation(), CGM.getContext().getSourceManager()); if (Module *M = D->getOwningModule()) { // This is a (sub-)module. auto Info = ExternalASTSource::ASTSourceDescriptor(*M);