We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47754d4 commit 0e656bbCopy full SHA for 0e656bb
llvm/lib/Transforms/Instrumentation/RealtimeSanitizer.cpp
@@ -26,6 +26,7 @@ using namespace llvm;
26
27
static std::vector<Type *> getArgTypes(ArrayRef<Value *> FunctionArgs) {
28
std::vector<Type *> Types;
29
+ Types.reserve(FunctionArgs.size());
30
for (Value *Arg : FunctionArgs)
31
Types.push_back(Arg->getType());
32
return Types;
0 commit comments