================ @@ -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; ---------------- egorzhdan wrote:
I think it's fine to represent this as a string. This way it's easier to add new cases in Swift without breaking C++ projects that build with older versions of Clang. https://github.com/llvm/llvm-project/pull/118938 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits