Skip to content

Commit f402953

Browse files
committed
[ORC] Fix code example in comment: SPS function sigs are function types. NFCI.
1 parent f75d75b commit f402953

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,12 @@ class WrapperFunction<void(SPSTagTs...)>
586586
/// @code{.cpp}
587587
/// class MyClass {
588588
/// public:
589-
/// void myMethod(uint32_t, bool) { ... }
589+
/// std::string myMethod(uint32_t, bool) { ... }
590590
/// };
591591
///
592592
/// // SPS Method signature -- note MyClass object address as first argument.
593593
/// using SPSMyMethodWrapperSignature =
594-
/// SPSTuple<SPSExecutorAddr, uint32_t, bool>;
594+
/// SPSString(SPSExecutorAddr, uint32_t, bool);
595595
///
596596
/// WrapperFunctionResult
597597
/// myMethodCallWrapper(const char *ArgData, size_t ArgSize) {

0 commit comments

Comments
 (0)