[llvm] 1fe01a9 - Apply clang-tidy fixes for readability-redundant-declaration in Debug.cpp (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 3 08:04:23 PDT 2022


Author: Kazu Hirata
Date: 2022-04-03T08:04:12-07:00
New Revision: 1fe01a9346658c0955b68b123f2b470b018114b1

URL: https://github.com/llvm/llvm-project/commit/1fe01a9346658c0955b68b123f2b470b018114b1
DIFF: https://github.com/llvm/llvm-project/commit/1fe01a9346658c0955b68b123f2b470b018114b1.diff

LOG: Apply clang-tidy fixes for readability-redundant-declaration in Debug.cpp (NFC)

Added: 
    

Modified: 
    llvm/lib/Support/Debug.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp
index 5470d931b00be..03c1813b11a8b 100644
--- a/llvm/lib/Support/Debug.cpp
+++ b/llvm/lib/Support/Debug.cpp
@@ -61,12 +61,6 @@ bool isCurrentDebugType(const char *DebugType) {
   return false;
 }
 
-/// Set the current debug type, as if the -debug-only=X
-/// option were specified.  Note that DebugFlag also needs to be set to true for
-/// debug output to be produced.
-///
-void setCurrentDebugTypes(const char **Types, unsigned Count);
-
 void setCurrentDebugType(const char *Type) {
   setCurrentDebugTypes(&Type, 1);
 }


        


More information about the llvm-commits mailing list