commit | 344472ebeded2fca2ed5013b9e87f81d09bfa908 | [log] [tgz] |
---|---|---|
author | Robert Wilhelm <robert.wilhelm@gmx.net> | Fri Aug 23 16:11:15 2013 +0000 |
committer | Robert Wilhelm <robert.wilhelm@gmx.net> | Fri Aug 23 16:11:15 2013 +0000 |
tree | 5be17f7e6b5c2dd9e59a9c0fa3942749dcd03ab6 | |
parent | 7865b8e4324378e06f59adb4d60bec26a7d3d584 [diff] [blame] |
Use pop_back_val() instead of both back() and pop_back(). No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189112 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Serialization/ModuleManager.cpp b/lib/Serialization/ModuleManager.cpp index 1fc82dd..b90ecc0 100644 --- a/lib/Serialization/ModuleManager.cpp +++ b/lib/Serialization/ModuleManager.cpp
@@ -332,8 +332,7 @@ break; // Pop the next module off the stack. - NextModule = State->Stack.back(); - State->Stack.pop_back(); + NextModule = State->Stack.pop_back_val(); } while (true); }