clang-cl errors out while handling the templated version of tgfmt. This
patch works around the issue by explicitly choosing the non-templated
version of tgfmt, which takes an ArrayRef<std::string>.
More details in this thread:
https://lists.llvm.org/pipermail/cfe-dev/2021-September/068936.html
clang-format: please reformat the code
- auto nativeCodeCall = std::string(tgfmt( - fmt, &fmtCtx.addSubst("_loc", locToUse).withSelf(opName.str()), - static_cast<ArrayRef<std::string>>(capture))); + auto nativeCodeCall = std::string( + tgfmt(fmt, &fmtCtx.addSubst("_loc", locToUse).withSelf(opName.str()), + static_cast<ArrayRef<std::string>>(capture)));