mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[cxx-interop] Implicitly defined copy and move constructors
This commit is contained in:
@@ -737,6 +737,12 @@ ValueDecl *getImportedMemberOperator(const DeclBaseName &name,
|
||||
/// as permissive as the input C++ access.
|
||||
AccessLevel convertClangAccess(clang::AccessSpecifier access);
|
||||
|
||||
/// Lookup and return the copy constructor of \a decl
|
||||
///
|
||||
/// Returns nullptr if \a decl doesn't have a valid copy constructor
|
||||
const clang::CXXConstructorDecl *
|
||||
findCopyConstructor(const clang::CXXRecordDecl *decl);
|
||||
|
||||
/// Read file IDs from 'private_fileid' Swift attributes on a Clang decl.
|
||||
///
|
||||
/// May return >1 fileID when a decl is annotated more than once, which should
|
||||
|
||||
Reference in New Issue
Block a user