OSDN Git Service

As Doug pointed out (and I really should know), it is perfectly easy to
authorChandler Carruth <chandlerc@gmail.com>
Sat, 17 Dec 2011 10:20:15 +0000 (10:20 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 17 Dec 2011 10:20:15 +0000 (10:20 +0000)
commit1243cdda6330139c55e8ecc033fcb559581e6870
tree642e2ae797a900b18421527168289b77cadb5f48
parent93ca12299f3210e300c9ac4f0fd8d6ce5b7d7d60
As Doug pointed out (and I really should know), it is perfectly easy to
make VariadicFunction actually be trivial. Do so, and also make it look
more like your standard trivial functor by making it a struct with no
access specifiers. The unit test is updated to initialize its functors
properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146827 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/VariadicFunction.h
unittests/ADT/VariadicFunctionTest.cpp