[cfe-commits] r138188 - /cfe/trunk/lib/Serialization/ASTReader.cpp

Douglas Gregor dgregor at apple.com
Fri Aug 19 21:58:43 PDT 2011


Author: dgregor
Date: Fri Aug 19 23:58:43 2011
New Revision: 138188

URL: http://llvm.org/viewvc/llvm-project?rev=138188&view=rev
Log:
Clean out some minor cruft in the AST reader; no functionality change.

Modified:
    cfe/trunk/lib/Serialization/ASTReader.cpp

Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=138188&r1=138187&r2=138188&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Fri Aug 19 23:58:43 2011
@@ -49,7 +49,6 @@
 #include <iterator>
 #include <cstdio>
 #include <sys/stat.h>
-#include <queue>
 
 using namespace clang;
 using namespace clang::serialization;
@@ -4611,7 +4610,6 @@
 }
 
 IdentifierInfo* ASTReader::get(const char *NameStart, const char *NameEnd) {
-  std::string Name(NameStart, NameEnd);
   IdentifierLookupVisitor Visitor(StringRef(NameStart, NameEnd - NameStart));
   ModuleMgr.visit(IdentifierLookupVisitor::visit, &Visitor);
   return Visitor.getIdentifierInfo();





More information about the cfe-commits mailing list