aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-05-01 19:49:38 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-05-01 19:49:38 +0000
commit6e9a8addcb2d7b97deb7137f74f65d1c1401fc54 (patch)
tree5d8a5d51e016502079fce38730590705ecb4a0b1 /clang/lib/Frontend/CompilerInstance.cpp
parentfbbfe6ecf0a400b26e6b6839a8d06bd8be46ad2a (diff)
downloadllvm-6e9a8addcb2d7b97deb7137f74f65d1c1401fc54.zip
llvm-6e9a8addcb2d7b97deb7137f74f65d1c1401fc54.tar.gz
llvm-6e9a8addcb2d7b97deb7137f74f65d1c1401fc54.tar.bz2
Remove variables made dead by r155923
This makes Clang's build warning free again. llvm-svn: 155928
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 22b38c1..6f36672 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -859,8 +859,6 @@ Module *CompilerInstance::loadModule(SourceLocation ImportLoc,
}
// Determine what file we're searching from.
- SourceManager &SourceMgr = getSourceManager();
- SourceLocation ExpandedImportLoc = SourceMgr.getExpansionLoc(ImportLoc);
StringRef ModuleName = Path[0].first->getName();
SourceLocation ModuleNameLoc = Path[0].second;