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 f930102 commit 3f3434bCopy full SHA for 3f3434b
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