]> granicus.if.org Git - clang/commitdiff
[Modules] Update Clang's two files that use DEBUG(...) without defining
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 22:55:36 +0000 (22:55 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 22:55:36 +0000 (22:55 +0000)
DEBUG_TYPE to do so. LLVM's Debug.h requires this as of r206822.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206823 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/TokenAnnotator.cpp
lib/Tooling/Tooling.cpp

index 1aa64b450d3dd063cf8e0356fbed91e4d58878d3..52764552b0db59cd8f3dd800e38da3724b6dfbdf 100644 (file)
@@ -17,6 +17,8 @@
 #include "clang/Basic/SourceManager.h"
 #include "llvm/Support/Debug.h"
 
+#define DEBUG_TYPE "format-token-annotator"
+
 namespace clang {
 namespace format {
 
index 7425e3b4e8fa20d64cb0d0f1d33f174a6806351e..25ade338e1af3769ce44bd121a11a4e6272ac587 100644 (file)
@@ -38,6 +38,8 @@
 #  include <unistd.h>
 #endif
 
+#define DEBUG_TYPE "clang-tooling"
+
 namespace clang {
 namespace tooling {