ΒΆllvm::Function*
getNonTrivialCStructDefaultConstructor(
clang::CodeGen::CodeGenModule& GCM,
clang::CharUnits DstAlignment,
bool IsVolatile,
clang::QualType QT)
llvm::Function*
getNonTrivialCStructDefaultConstructor(
clang::CodeGen::CodeGenModule& GCM,
clang::CharUnits DstAlignment,
bool IsVolatile,
clang::QualType QT)
Description
Returns the default constructor for a C struct with non-trivially copyable fields, generating it if necessary. The returned function uses the `cdecl` calling convention, returns void, and takes a single argument that is a pointer to the address of the struct.
Declared at: clang/include/clang/CodeGen/CodeGenABITypes.h:130
Parameters
- clang::CodeGen::CodeGenModule& GCM
- clang::CharUnits DstAlignment
- bool IsVolatile
- clang::QualType QT