aboutsummaryrefslogtreecommitdiff
path: root/include/Support/VectorExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/VectorExtras.h')
-rw-r--r--include/Support/VectorExtras.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Support/VectorExtras.h b/include/Support/VectorExtras.h
index 32778309d4..cf7cf5d2eb 100644
--- a/include/Support/VectorExtras.h
+++ b/include/Support/VectorExtras.h
@@ -17,6 +17,8 @@
#include <cstdarg>
+namespace llvm {
+
/// make_vector - Helper function which is useful for building temporary vectors
/// to pass into type construction of CallInst ctors. This turns a null
/// terminated list of pointers (or other value types) into a real live vector.
@@ -33,4 +35,6 @@ inline std::vector<T> make_vector(T A, ...) {
return Result;
}
+} // End llvm namespace
+
#endif