We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de41b13 commit e109c49Copy full SHA for e109c49
llvm/include/llvm/ADT/STLFunctionalExtras.h
@@ -16,7 +16,6 @@
16
#define LLVM_ADT_STLFUNCTIONALEXTRAS_H
17
18
#include "llvm/ADT/STLForwardCompat.h"
19
-#include "llvm/Support/Compiler.h"
20
21
#include <cstdint>
22
#include <type_traits>
@@ -53,7 +52,7 @@ class function_ref<Ret(Params...)> {
53
52
54
template <typename Callable>
55
function_ref(
56
- Callable &&callable LLVM_LIFETIME_BOUND,
+ Callable &&callable,
57
// This is not the copy-constructor.
58
std::enable_if_t<!std::is_same<remove_cvref_t<Callable>,
59
function_ref>::value> * = nullptr,
0 commit comments