[PATCH] D24882: Add StringSwitch::Cases functions that takes 6, 7 or 8 arguments.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 5 17:19:56 PDT 2017
ruiu added a comment.
IIRC, it is tricky to use a template because all but the last parameter are of the same in `Cases`. If it takes `Value` as the first parameter, it would have been easier to use a template. But I'm not a C++ expert, so there may be a straightforward way of doing it.
Repository:
rL LLVM
https://reviews.llvm.org/D24882
More information about the llvm-commits
mailing list