Skip to content

Commit 52232ab

Browse files
[Support] Remove redundant declaration setCurrentDebugTypes (NFC)
The function is declared in llvm/include/llvm/Support/Debug.h. Identified with readability-redundant-declaration.
1 parent c0fe37d commit 52232ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Support/Debug.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ bool isCurrentDebugType(const char *DebugType) {
6161
return false;
6262
}
6363

64-
/// Set the current debug type, as if the -debug-only=X
65-
/// option were specified. Note that DebugFlag also needs to be set to true for
66-
/// debug output to be produced.
67-
///
68-
void setCurrentDebugTypes(const char **Types, unsigned Count);
69-
7064
void setCurrentDebugType(const char *Type) {
7165
setCurrentDebugTypes(&Type, 1);
7266
}

0 commit comments

Comments
 (0)