Unbreak the build.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 15 Feb 2015 20:24:47 +0000 (20:24 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 15 Feb 2015 20:24:47 +0000 (20:24 +0000)
llvm-svn: 229329

clang/lib/CodeGen/EHScopeStack.h

index d3d79c6..c147fce 100644 (file)
@@ -329,7 +329,7 @@ public:
   /// The pointer returned from this method is valid until the cleanup
   /// stack is modified.
   template <class T, class... As>
-  T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As A) {
+  T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As... A) {
     void *Buffer = pushCleanup(Kind, sizeof(T) + T::getExtraSize(N));
     return new (Buffer) T(N, A...);
   }