[all-commits] [llvm/llvm-project] 8a15bd: [NFC][xray] Fix enable_if usage in XRay.h

Chris Cotter via All-commits all-commits at lists.llvm.org
Thu Aug 10 12:37:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a15bdb5e637f81041591d97bea0267b5f053f16
      https://github.com/llvm/llvm-project/commit/8a15bdb5e637f81041591d97bea0267b5f053f16
  Author: Chris Cotter <ccotter14 at bloomberg.net>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M llvm/include/llvm/XRay/Graph.h

  Log Message:
  -----------
  [NFC][xray] Fix enable_if usage in XRay.h

The original usage of enable_if does not actually lookup
the nested type called type, so the SFINAE does not kick in.

Differential Revision: https://reviews.llvm.org/D157240




More information about the All-commits mailing list