projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45d369
)
Apply clang-tidy fixes for readability-redundant-declaration in Debug.cpp (NFC)
author
Kazu Hirata
<kazu@google.com>
Sun, 3 Apr 2022 15:04:12 +0000
(08:04 -0700)
committer
Kazu Hirata
<kazu@google.com>
Sun, 3 Apr 2022 15:04:12 +0000
(08:04 -0700)
llvm/lib/Support/Debug.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Debug.cpp
b/llvm/lib/Support/Debug.cpp
index
5470d93
..
03c1813
100644
(file)
--- 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);
}