From 7fc9fe34390c66ca58646d09a87f7dbaacb6c1f8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 27 Jun 2001 23:41:11 +0000 Subject: Miscellaneous cleanups: * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/SymbolTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/VMCore/SymbolTable.cpp') diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index 214f41f169..07e4b87f02 100644 --- a/lib/VMCore/SymbolTable.cpp +++ b/lib/VMCore/SymbolTable.cpp @@ -15,9 +15,9 @@ SymbolTable::~SymbolTable() { #ifndef NDEBUG // Only do this in -g mode... bool Good = true; - for (iterator i = begin(); i != end(); i++) { + for (iterator i = begin(); i != end(); ++i) { if (i->second.begin() != i->second.end()) { - for (type_iterator I = i->second.begin(); I != i->second.end(); I++) + for (type_iterator I = i->second.begin(); I != i->second.end(); ++I) cerr << "Value still in symbol table! Type = " << i->first->getName() << " Name = " << I->first << endl; Good = false; -- cgit v1.2.3-18-g5258