[clang] [APINotes] Add SWIFT_RETURNS_(UN)RETAINED support to APINotes (PR #118938)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 6 06:18:00 PST 2024
================
@@ -542,6 +542,9 @@ class FunctionInfo : public CommonEntityInfo {
/// The result type of this function, as a C type.
std::string ResultType;
+ /// Swift name of this entity.
+ std::string SwiftReturnOwnership;
----------------
Xazax-hun wrote:
Do we need a string to represent this? Wouldn't an enum make more sense?
https://github.com/llvm/llvm-project/pull/118938
More information about the cfe-commits
mailing list