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 3f3434b commit 49ed53aCopy full SHA for 49ed53a
llvm/lib/Transforms/Instrumentation/RealtimeSanitizer.cpp
@@ -20,13 +20,10 @@
20
#include "llvm/Demangle/Demangle.h"
21
#include "llvm/Transforms/Instrumentation/RealtimeSanitizer.h"
22
23
-#include <vector>
24
-
25
using namespace llvm;
26
27
-static std::vector<Type *> getArgTypes(ArrayRef<Value *> FunctionArgs) {
28
- std::vector<Type *> Types;
29
- Types.reserve(FunctionArgs.size());
+static SmallVector<Type *> getArgTypes(ArrayRef<Value *> FunctionArgs) {
+ SmallVector<Type *> Types;
30
for (Value *Arg : FunctionArgs)
31
Types.push_back(Arg->getType());
32
return Types;
0 commit comments