Fix template parameter pack handling in ThreadPool
authorTeresa Johnson <tejohnson@google.com>
Tue, 15 Dec 2015 04:44:02 +0000 (04:44 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 15 Dec 2015 04:44:02 +0000 (04:44 +0000)
commitcbfe4141892818d4bcd17558840ce1375ed5bc9d
tree48ed96d687c05a07895f8f582be3bb92598cecd4
parentdb01e41c24babb26e4980af564b1ba70bd3168aa
Fix template parameter pack handling in ThreadPool

Fixes passing of template parameter pack via std::forward and add
unittest.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255617 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ThreadPool.h
unittests/Support/ThreadPool.cpp