r175539 - Use MapVector::pop_back() per LLVM r175538.
Douglas Gregor
dgregor at apple.com
Tue Feb 19 10:26:28 PST 2013
Author: dgregor
Date: Tue Feb 19 12:26:28 2013
New Revision: 175539
URL: http://llvm.org/viewvc/llvm-project?rev=175539&view=rev
Log:
Use MapVector::pop_back() per LLVM r175538.
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=175539&r1=175538&r2=175539&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Tue Feb 19 12:26:28 2013
@@ -6998,7 +6998,7 @@ void ASTReader::finishPendingActions() {
// FIXME: std::move
IdentifierInfo *II = PendingIdentifierInfos.back().first;
SmallVector<uint32_t, 4> DeclIDs = PendingIdentifierInfos.back().second;
- PendingIdentifierInfos.erase(II);
+ PendingIdentifierInfos.pop_back();
SetGloballyVisibleDecls(II, DeclIDs, &TopLevelDecls[II]);
}
More information about the cfe-commits
mailing list