[cfe-dev] Is there any method like llvm::DEBUG in Clang?

Journeyer J. Joh oosaprogrammer at gmail.com
Mon Dec 10 17:59:02 PST 2012


I found a useful macro, DEBUG from the documentation below.

http://llvm.org/docs/ProgrammersManual.html#the-debug-macro-and-debug-option

The macro, DEBUG is defined in
include/llvm/Support/Debug.h

The Document above says that DEBUG can be used in various LLVM
utilities with option, -debug.

But it seems that Clang doesn't support this macro.
Then I wonder if Clang have similar api or macro like llvm::DEBUG.

Does she has one?

Thanks in advance.

I hope you all have a good day.
-- 
----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------



More information about the cfe-dev mailing list