[all-commits] [llvm/llvm-project] b953a0: Reapply [ADT] function_ref's constructor is unavai...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Oct 7 09:31:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b953a01b2cd04263c878292c609686647be396ad
      https://github.com/llvm/llvm-project/commit/b953a01b2cd04263c878292c609686647be396ad
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/lib/AsmParser/LLParser.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/unittests/ADT/FunctionRefTest.cpp

  Log Message:
  -----------
  Reapply [ADT] function_ref's constructor is unavailable if the argument is not callable.

This reverts commit 281703e67ffaee8e26efef86e0df3e145477f4cb.

GCC 5.4 bugs are worked around by avoiding use of variable templates.

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




More information about the All-commits mailing list