Revert "[ADT] function_ref's constructor is unavailable if the argument is not callable."
authorSam McCall <sam.mccall@gmail.com>
Wed, 7 Oct 2020 14:36:38 +0000 (16:36 +0200)
committerSam McCall <sam.mccall@gmail.com>
Wed, 7 Oct 2020 14:37:13 +0000 (16:37 +0200)
commit281703e67ffaee8e26efef86e0df3e145477f4cb
tree37ab6fa8ee2c3823be759cc5d0f4d3b05435c06c
parentfbce456fad35efa857b9dea2cff3a938835de44d
Revert "[ADT] function_ref's constructor is unavailable if the argument is not callable."

This reverts commit 4cae6228d129d4c4dfb156c043977bb6b5690031.

Breaks GCC build:
http://lab.llvm.org:8011/#/builders/8/builds/33/steps/6/logs/stdio
llvm/include/llvm/ADT/STLExtras.h
llvm/lib/AsmParser/LLParser.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/unittests/ADT/FunctionRefTest.cpp