summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-21 23:03:05 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-21 23:03:05 +0000
commit58000d28ab34e77cecb8a3d2e44de53a021778d3 (patch)
tree913e315c0f363817e186b85deef387df1f4c632e /clang/lib/CodeGen/CGDebugInfo.cpp
parent151407c35be5c1b77e742ce501bdfa930419f484 (diff)
downloadbcm5719-llvm-58000d28ab34e77cecb8a3d2e44de53a021778d3.tar.gz
bcm5719-llvm-58000d28ab34e77cecb8a3d2e44de53a021778d3.zip
Delete dead code.
llvm-svn: 321321
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index caea41ec0e0..aeed4d658a4 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud