Reapply [ADT] function_ref's constructor is unavailable if the argument is not callable.
This reverts commit 281703e67f.
GCC 5.4 bugs are worked around by avoiding use of variable templates.
Differential Revision: https://reviews.llvm.org/D88977
This commit is contained in:
@@ -579,9 +579,7 @@ public:
|
||||
/// \returns true if an error occurred.
|
||||
Error parseBitcodeInto(
|
||||
Module *M, bool ShouldLazyLoadMetadata = false, bool IsImporting = false,
|
||||
DataLayoutCallbackTy DataLayoutCallback = [](std::string) {
|
||||
return None;
|
||||
});
|
||||
DataLayoutCallbackTy DataLayoutCallback = [](StringRef) { return None; });
|
||||
|
||||
static uint64_t decodeSignRotatedValue(uint64_t V);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user