[#LDBG_TYPE_AND_LEVEL]
= LDBG&lowbar;TYPE&lowbar;AND&lowbar;LEVEL
:mrdocs:

This macro is a helper when LDBG() is called with 2 arguments&period; In this case we want to force the first argument to be the type for consistency in the codebase&period; We trick this by casting the first argument to a (const char &ast;) which won&apos;t compile with an int&period;

== Synopsis

Declared in `&lt;llvm&sol;Support&sol;DebugLog&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define LDBG&lowbar;TYPE&lowbar;AND&lowbar;LEVEL(TYPE, LEVEL)

----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
