[all-commits] [llvm/llvm-project] dd11c8: Fix SFINAE in JSON.h constructor.

Justin Lebar via All-commits all-commits at lists.llvm.org
Tue Feb 11 07:39:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dd11c8fb0d07b346b8eaba5a023d58203c367041
      https://github.com/llvm/llvm-project/commit/dd11c8fb0d07b346b8eaba5a023d58203c367041
  Author: Justin Lebar <jlebar at google.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Support/JSON.h

  Log Message:
  -----------
  Fix SFINAE in JSON.h constructor.

Summary:
This used std::enable_if without referencing ::type.  Changed to use
std::enable_if_t.

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list