From e2f48e941c2faecd1154ee8dec9458377b99aa4f Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 21 Apr 2014 22:55:36 +0000 Subject: [PATCH] [Modules] Update Clang's two files that use DEBUG(...) without defining 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 | 2 ++ lib/Tooling/Tooling.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/Format/TokenAnnotator.cpp b/lib/Format/TokenAnnotator.cpp index 1aa64b450d..52764552b0 100644 --- a/lib/Format/TokenAnnotator.cpp +++ b/lib/Format/TokenAnnotator.cpp @@ -17,6 +17,8 @@ #include "clang/Basic/SourceManager.h" #include "llvm/Support/Debug.h" +#define DEBUG_TYPE "format-token-annotator" + namespace clang { namespace format { diff --git a/lib/Tooling/Tooling.cpp b/lib/Tooling/Tooling.cpp index 7425e3b4e8..25ade338e1 100644 --- a/lib/Tooling/Tooling.cpp +++ b/lib/Tooling/Tooling.cpp @@ -38,6 +38,8 @@ # include #endif +#define DEBUG_TYPE "clang-tooling" + namespace clang { namespace tooling { -- 2.40.0