[cfe-commits] r155928 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp

David Blaikie dblaikie at gmail.com
Tue May 1 12:49:39 PDT 2012


Author: dblaikie
Date: Tue May  1 14:49:38 2012
New Revision: 155928

URL: http://llvm.org/viewvc/llvm-project?rev=155928&view=rev
Log:
Remove variables made dead by r155923

This makes Clang's build warning free again.

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=155928&r1=155927&r2=155928&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Tue May  1 14:49:38 2012
@@ -859,8 +859,6 @@
   }
   
   // 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;
 





More information about the cfe-commits mailing list