From 640b3199143eca2077436b970a5630ae25e437eb Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 14 Dec 2008 17:44:24 +0000 Subject: [PATCH] minor WS fix for the previous commit git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61008 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/DeclarationName.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp index 9ef938c06c..9535965ecf 100644 --- a/lib/AST/DeclarationName.cpp +++ b/lib/AST/DeclarationName.cpp @@ -261,11 +261,10 @@ DeclarationNameTable::DeclarationNameTable() { DeclarationNameTable::~DeclarationNameTable() { llvm::FoldingSet *set = static_cast*>(CXXSpecialNamesImpl); - llvm::FoldingSetIterator it = set->begin(); + llvm::FoldingSetIterator it = set->begin(); while (it != set->end()) { - CXXSpecialName *n = &*it++; - delete n; + delete &*it++; } delete set; -- 2.40.0