[PATCH] D157240: [NFC][xray] Fix enable_if usage in XRay.h
Chris Cotter via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 6 12:20:39 PDT 2023
ccotter added inline comments.
================
Comment at: llvm/include/llvm/XRay/Graph.h:147
template <bool IsConstDest,
- typename = std::enable_if<IsConstDest && !IsConst>>
+ typename = std::enable_if_t<IsConstDest && !IsConst>>
operator NeighborEdgeIteratorT<IsConstDest, IsOut, BaseIt,
----------------
I originally noticed this while writing `modernize-use-constraints`, and implemented https://reviews.llvm.org/D157239 to find any other similar cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157240/new/
https://reviews.llvm.org/D157240
More information about the llvm-commits
mailing list