diff --git a/llvm/include/llvm/ADT/STLFunctionalExtras.h b/llvm/include/llvm/ADT/STLFunctionalExtras.h index 3b9d40959d7142..6f172504b3c167 100644 --- a/llvm/include/llvm/ADT/STLFunctionalExtras.h +++ b/llvm/include/llvm/ADT/STLFunctionalExtras.h @@ -16,7 +16,6 @@ #define LLVM_ADT_STLFUNCTIONALEXTRAS_H #include "llvm/ADT/STLForwardCompat.h" -#include "llvm/Support/Compiler.h" #include #include @@ -53,7 +52,7 @@ class function_ref { template function_ref( - Callable &&callable LLVM_LIFETIME_BOUND, + Callable &&callable, // This is not the copy-constructor. std::enable_if_t, function_ref>::value> * = nullptr,