[PATCH] D52281: [clang-tidy] Add modernize check to use std::invoke in generic code

Paul Fultz II via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 20 05:52:47 PDT 2018


pfultz2 added a comment.

This needs a test when calling in a `constexpr` function. I believe `std::invoke` is not `constepxr`, so a function object call in a `constexpr` function should not suggest `std::invoke`.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52281





More information about the cfe-commits mailing list