]> granicus.if.org Git - clang/commitdiff
Delete dead code.
authorAdrian Prantl <aprantl@apple.com>
Thu, 21 Dec 2017 23:03:05 +0000 (23:03 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 21 Dec 2017 23:03:05 +0000 (23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321321 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index caea41ec0e037fb2180269c9b17f8466911658d8..aeed4d658a4e2e4ed68b5309b957069d929dc565 100644 (file)
@@ -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);