summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/Module.cpp')
-rw-r--r--llvm/lib/VMCore/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index 4f2eee46611..7fa2802679a 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/lib/VMCore/Module.cpp
@@ -37,6 +37,6 @@ Module::~Module() {
//
void Module::dropAllReferences() {
MethodListType::iterator MI = MethodList.begin();
- for (; MI != MethodList.end(); MI++)
+ for (; MI != MethodList.end(); ++MI)
(*MI)->dropAllReferences();
}
OpenPOWER on IntegriCloud