[llvm] f402953 - [ORC] Fix code example in comment: SPS function sigs are function types. NFCI.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 16 23:40:13 PDT 2025


Author: Lang Hames
Date: 2025-03-17T17:38:22+11:00
New Revision: f402953339fa5b1c206cb5d6ac3d9b15b1e81509

URL: https://github.com/llvm/llvm-project/commit/f402953339fa5b1c206cb5d6ac3d9b15b1e81509
DIFF: https://github.com/llvm/llvm-project/commit/f402953339fa5b1c206cb5d6ac3d9b15b1e81509.diff

LOG: [ORC] Fix code example in comment: SPS function sigs are function types. NFCI.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
index 7ac8bd3489683..d360004360baf 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
@@ -586,12 +586,12 @@ class WrapperFunction<void(SPSTagTs...)>
 ///   @code{.cpp}
 ///   class MyClass {
 ///   public:
-///     void myMethod(uint32_t, bool) { ... }
+///     std::string myMethod(uint32_t, bool) { ... }
 ///   };
 ///
 ///   // SPS Method signature -- note MyClass object address as first argument.
 ///   using SPSMyMethodWrapperSignature =
-///     SPSTuple<SPSExecutorAddr, uint32_t, bool>;
+///     SPSString(SPSExecutorAddr, uint32_t, bool);
 ///
 ///   WrapperFunctionResult
 ///   myMethodCallWrapper(const char *ArgData, size_t ArgSize) {


        


More information about the llvm-commits mailing list