r288125 - Removed DEBUG_TYPE from TokenAnalyzer.h

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 02:21:28 PST 2016


Author: krasimir
Date: Tue Nov 29 04:21:28 2016
New Revision: 288125

URL: http://llvm.org/viewvc/llvm-project?rev=288125&view=rev
Log:
Removed DEBUG_TYPE from TokenAnalyzer.h

Summary:
Defining DEBUG_TYPE in a header file doesn't make sense.
It is already defined in the corresponding source file.

Reviewers: klimek, ioeric

Subscribers: klimek

Differential Revision: https://reviews.llvm.org/D27164

Modified:
    cfe/trunk/lib/Format/TokenAnalyzer.h

Modified: cfe/trunk/lib/Format/TokenAnalyzer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/TokenAnalyzer.h?rev=288125&r1=288124&r2=288125&view=diff
==============================================================================
--- cfe/trunk/lib/Format/TokenAnalyzer.h (original)
+++ cfe/trunk/lib/Format/TokenAnalyzer.h Tue Nov 29 04:21:28 2016
@@ -31,8 +31,6 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Support/Debug.h"
 
-#define DEBUG_TYPE "format-formatter"
-
 namespace clang {
 namespace format {
 




More information about the cfe-commits mailing list