Skip to content

Commit 04115c7

Browse files
committed
Add LLVM_GSL_POINTER to llvm::function_ref.
1 parent eace826 commit 04115c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ADT/STLFunctionalExtras.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace llvm {
3737
template<typename Fn> class function_ref;
3838

3939
template<typename Ret, typename ...Params>
40-
class function_ref<Ret(Params...)> {
40+
class LLVM_GSL_POINTER function_ref<Ret(Params...)> {
4141
Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
4242
intptr_t callable;
4343

0 commit comments

Comments
 (0)