summaryrefslogtreecommitdiff
path: root/clang-plugin/debug.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-01 17:42:50 +0200
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-01 17:45:33 +0200
commit9924fb1410d96e59ab73e73378d5e2e1c4e66ac9 (patch)
tree2666acfa65a77505ddd9728b06fe0231b328a038 /clang-plugin/debug.h
parentf94fb0644d4d216ca16ef33c223c10b2f2811378 (diff)
clang-plugin: Fix debug output
The GNOME_DEBUG_CHECK macro #defines GNOME_ENABLE_DEBUG, not ENABLE_DEBUG.
Diffstat (limited to 'clang-plugin/debug.h')
-rw-r--r--clang-plugin/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-plugin/debug.h b/clang-plugin/debug.h
index 3f9b080..cca2f19 100644
--- a/clang-plugin/debug.h
+++ b/clang-plugin/debug.h
@@ -29,7 +29,7 @@
using namespace clang;
namespace Debug {
-#ifdef ENABLE_DEBUG
+#ifdef GNOME_ENABLE_DEBUG
#define DEBUG(M) llvm::errs () << M << "\n"
#define DEBUG_EXPR(M, E) llvm::errs () << M; \
(E).printPretty (llvm::errs (), NULL, context.getPrintingPolicy ()); \