[#llvm-Function-setAlignment-07] = xref:llvm.adoc[llvm]::xref:llvm/Function.adoc[Function]::setAlignment :relfileprefix: ../../ :mrdocs: Sets the alignment attribute of the Function. == Synopsis Declared in `<llvm/IR/Function.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setAlignment(xref:llvm/MaybeAlign.adoc[MaybeAlign] Align); ---- == Description This method will be deprecated as the alignment property should always be defined. == Parameters [cols="1,4"] |=== | Name| Description | *Align* | The optional code alignment to set. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#