diff options
author | Robert Wilhelm <robert.wilhelm@gmx.net> | 2013-08-23 16:11:15 +0000 |
---|---|---|
committer | Robert Wilhelm <robert.wilhelm@gmx.net> | 2013-08-23 16:11:15 +0000 |
commit | 25284cc95b87b12c83a54aaf891f3c7d8a521186 (patch) | |
tree | c70e8b7b0d66233d13d9a33aa6eccaaa62d003ec /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b09bb1ce19c34981a11a1a0f0239f0c043e3d474 (diff) | |
download | bcm5719-llvm-25284cc95b87b12c83a54aaf891f3c7d8a521186.tar.gz bcm5719-llvm-25284cc95b87b12c83a54aaf891f3c7d8a521186.zip |
Use pop_back_val() instead of both back() and pop_back().
No functionality change intended.
llvm-svn: 189112
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 2ef3f39ea51..1eb5a0964f5 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -863,8 +863,7 @@ void CodeGenModule::EmitModuleLinkOptions() { // Find all of the modules to import, making a little effort to prune // non-leaf modules. while (!Stack.empty()) { - clang::Module *Mod = Stack.back(); - Stack.pop_back(); + clang::Module *Mod = Stack.pop_back_val(); bool AnyChildren = false; |