[#llvm-MCContext-2constructor-0c] = xref:llvm.adoc[llvm]::xref:llvm/MCContext.adoc[MCContext]::MCContext :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<llvm/MC/MCContext.h>` Deleted copy constructor; MCContext is non‐copyable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/MCContext/2constructor-0b.adoc[MCContext](xref:llvm/MCContext.adoc[MCContext] const& Other) = delete; ---- [.small]#xref:llvm/MCContext/2constructor-0b.adoc[_» more..._]# Construct a machine‐code context for the given target triple. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:llvm/MCContext/2constructor-07.adoc[MCContext]( xref:llvm/Triple.adoc[Triple] const& TheTriple, xref:llvm/MCAsmInfo.adoc[MCAsmInfo] const& MAI, xref:llvm/MCRegisterInfo.adoc[MCRegisterInfo] const& MRI, xref:llvm/MCSubtargetInfo.adoc[MCSubtargetInfo] const& MSTI, xref:llvm/SourceMgr.adoc[SourceMgr] const* Mgr = nullptr, bool DoAutoReset = true, xref:llvm/StringRef.adoc[StringRef] Swift5ReflSegmentName = {}); ---- [.small]#xref:llvm/MCContext/2constructor-07.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *Other* | Unused; copy construction is deleted. | *TheTriple* | Target triple describing the object environment. | *MAI* | Target assembly information. | *MRI* | Target register information. | *MSTI* | Target subtarget information. | *Mgr* | Optional source manager for diagnostics and locations. | *DoAutoReset* | If true, reset() is called from the destructor. | *Swift5ReflSegmentName* | Optional Swift5 reflection segment name. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#