[#llvm-PrintWarning-06] = xref:llvm.adoc[llvm]::PrintWarning :relfileprefix: ../ :mrdocs: `PrintWarning` overloads == Synopses Declared in `<llvm/TableGen/Error.h>` Print a warning diagnostic with message `Msg` and no source location. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/PrintWarning-09.adoc[PrintWarning](xref:llvm/Twine.adoc[Twine] const& Msg); ---- [.small]#xref:llvm/PrintWarning-09.adoc[_» more..._]# Print a warning diagnostic at source location(s) `WarningLoc.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/PrintWarning-04.adoc[PrintWarning]( xref:llvm/ArrayRef-08.adoc[ArrayRef<SMLoc>] WarningLoc, xref:llvm/Twine.adoc[Twine] const& Msg); ---- [.small]#xref:llvm/PrintWarning-04.adoc[_» more..._]# Print a warning diagnostic at pointer location `Loc` within the buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:llvm/PrintWarning-0d.adoc[PrintWarning]( char const* Loc, xref:llvm/Twine.adoc[Twine] const& Msg); ---- [.small]#xref:llvm/PrintWarning-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *Msg* | Warning text to print. | *WarningLoc* | Source locations associated with the warning. | *Loc* | Pointer into a SourceMgr buffer identifying the warning site. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#