[cfe-commits] r61008 - /cfe/trunk/lib/AST/DeclarationName.cpp
Nuno Lopes
nunoplopes at sapo.pt
Sun Dec 14 09:44:25 PST 2008
Author: nlopes
Date: Sun Dec 14 11:44:24 2008
New Revision: 61008
URL: http://llvm.org/viewvc/llvm-project?rev=61008&view=rev
Log:
minor WS fix for the previous commit
Modified:
cfe/trunk/lib/AST/DeclarationName.cpp
Modified: cfe/trunk/lib/AST/DeclarationName.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclarationName.cpp?rev=61008&r1=61007&r2=61008&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclarationName.cpp (original)
+++ cfe/trunk/lib/AST/DeclarationName.cpp Sun Dec 14 11:44:24 2008
@@ -261,11 +261,10 @@
DeclarationNameTable::~DeclarationNameTable() {
llvm::FoldingSet<CXXSpecialName> *set =
static_cast<llvm::FoldingSet<CXXSpecialName>*>(CXXSpecialNamesImpl);
- llvm::FoldingSetIterator<CXXSpecialName> it = set->begin();
+ llvm::FoldingSetIterator<CXXSpecialName> it = set->begin();
while (it != set->end()) {
- CXXSpecialName *n = &*it++;
- delete n;
+ delete &*it++;
}
delete set;
More information about the cfe-commits
mailing list