r174880 - Get rid of manual debug output, now that the test runner supports it.

Manuel Klimek klimek at google.com
Mon Feb 11 04:37:30 PST 2013


Author: klimek
Date: Mon Feb 11 06:37:30 2013
New Revision: 174880

URL: http://llvm.org/viewvc/llvm-project?rev=174880&view=rev
Log:
Get rid of manual debug output, now that the test runner supports it.

You can run tests with -debug instead now.

Modified:
    cfe/trunk/lib/Format/Format.cpp
    cfe/trunk/lib/Format/UnwrappedLineParser.cpp
    cfe/trunk/unittests/Format/FormatTest.cpp

Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=174880&r1=174879&r2=174880&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Mon Feb 11 06:37:30 2013
@@ -26,9 +26,6 @@
 #include "llvm/Support/Debug.h"
 #include <string>
 
-// Uncomment to get debug output from tests:
-// #define DEBUG_WITH_TYPE(T, X) do { X; } while(0)
-
 namespace clang {
 namespace format {
 

Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.cpp?rev=174880&r1=174879&r2=174880&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineParser.cpp (original)
+++ cfe/trunk/lib/Format/UnwrappedLineParser.cpp Mon Feb 11 06:37:30 2013
@@ -19,9 +19,6 @@
 #include "clang/Basic/Diagnostic.h"
 #include "llvm/Support/Debug.h"
 
-// Uncomment to get debug output from tests:
-// #define DEBUG_WITH_TYPE(T, X) do { X; } while(0)
-
 namespace clang {
 namespace format {
 

Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=174880&r1=174879&r2=174880&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Mon Feb 11 06:37:30 2013
@@ -15,9 +15,6 @@
 #include "llvm/Support/Debug.h"
 #include "gtest/gtest.h"
 
-// Uncomment to get debug output from tests:
-// #define DEBUG_WITH_TYPE(T, X) do { X; } while(0)
-
 namespace clang {
 namespace format {
 





More information about the cfe-commits mailing list