From 6252156da5066bd47f63f8bd40404d1f89909d32 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 24 Dec 2017 01:00:23 +0000 Subject: Vendor import of clang trunk r321414: https://llvm.org/svn/llvm-project/cfe/trunk@321414 --- lib/CodeGen/CGDebugInfo.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/CodeGen/CGDebugInfo.cpp') diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index caea41ec0e03..aeed4d658a4e 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); -- cgit v1.3