aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2021-01-06 18:27:33 -0800
committerKazu Hirata <kazu@google.com>2021-01-06 18:27:33 -0800
commit1d0bc05551587046c4a6896215c92f7e1259d10e (patch)
tree5de082741e2895d1c06bc814244cfcc43a2f6532 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parentfbc13e9345c7c9607f0c28e0ccfa9a7baf254f29 (diff)
downloadllvm-1d0bc05551587046c4a6896215c92f7e1259d10e.zip
llvm-1d0bc05551587046c4a6896215c92f7e1259d10e.tar.gz
llvm-1d0bc05551587046c4a6896215c92f7e1259d10e.tar.bz2
[llvm] Use llvm::append_range (NFC)
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index cb1b35d..3aa7755 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -419,7 +419,7 @@ static GenericValue lle_X_printf(FunctionType *FT,
char Buffer[10000];
std::vector<GenericValue> NewArgs;
NewArgs.push_back(PTOGV((void*)&Buffer[0]));
- NewArgs.insert(NewArgs.end(), Args.begin(), Args.end());
+ llvm::append_range(NewArgs, Args);
GenericValue GV = lle_X_sprintf(FT, NewArgs);
outs() << Buffer;
return GV;