diff options
Diffstat (limited to 'clang/lib/CodeGen/EHScopeStack.h')
-rw-r--r-- | clang/lib/CodeGen/EHScopeStack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/EHScopeStack.h b/clang/lib/CodeGen/EHScopeStack.h index d3d79c63ea0..c147fcefafb 100644 --- a/clang/lib/CodeGen/EHScopeStack.h +++ b/clang/lib/CodeGen/EHScopeStack.h @@ -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...); } |