Skip to content

Commit 91a0f8a

Browse files
committed
[orc-rt] Rename AllocAction::AA member to AllocAction::Fn. NFC.
1 parent 7fbfd1c commit 91a0f8a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

orc-rt/include/orc-rt/AllocAction.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ struct AllocActionFunction {
6464
/// An AllocAction is a pair of an AllocActionFn and an argument data buffer.
6565
struct AllocAction {
6666
AllocAction() = default;
67-
AllocAction(AllocActionFn AA, WrapperFunctionBuffer ArgData)
68-
: AA(AA), ArgData(std::move(ArgData)) {}
67+
AllocAction(AllocActionFn Fn, WrapperFunctionBuffer ArgData)
68+
: Fn(Fn), ArgData(std::move(ArgData)) {}
6969

7070
[[nodiscard]] WrapperFunctionBuffer operator()() {
71-
assert(AA && "Attempt to call null action");
72-
return AA(ArgData.data(), ArgData.size());
71+
assert(Fn && "Attempt to call null action");
72+
return Fn(ArgData.data(), ArgData.size());
7373
}
7474

75-
explicit operator bool() const noexcept { return !!AA; }
75+
explicit operator bool() const noexcept { return !!Fn; }
7676

77-
AllocActionFn AA = nullptr;
77+
AllocActionFn Fn = nullptr;
7878
WrapperFunctionBuffer ArgData;
7979
};
8080

0 commit comments

Comments
 (0)