aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Debug.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-04-03 08:04:12 -0700
committerKazu Hirata <kazu@google.com>2022-04-03 08:04:12 -0700
commit1fe01a9346658c0955b68b123f2b470b018114b1 (patch)
tree076fa0fae8b747ef78b6d863a9f7258a9b2766c7 /llvm/lib/Support/Debug.cpp
parentc45d369cedaea8fc5c2aa3372e265990ca0e8710 (diff)
downloadllvm-1fe01a9346658c0955b68b123f2b470b018114b1.zip
llvm-1fe01a9346658c0955b68b123f2b470b018114b1.tar.gz
llvm-1fe01a9346658c0955b68b123f2b470b018114b1.tar.bz2
Apply clang-tidy fixes for readability-redundant-declaration in Debug.cpp (NFC)
Diffstat (limited to 'llvm/lib/Support/Debug.cpp')
-rw-r--r--llvm/lib/Support/Debug.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp
index 5470d93..03c1813 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);
}