Skip to content

Commit 20d9353

Browse files
authored
Revert "Adjust LDBG output: surround DebugType between [ and ]" (#150685)
Reverts #150671 ; buildbot failure.
1 parent 8b7dc4c commit 20d9353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Support/DebugLog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class LogWithNewline {
3838
raw_ostream &os)
3939
: os(os) {
4040
if (debug_type)
41-
os << "[" << debug_type << "] ";
42-
os << file << ":" << line << " ";
41+
os << debug_type << " ";
42+
os << "[" << file << ":" << line << "] ";
4343
}
4444
~LogWithNewline() { os << '\n'; }
4545
template <typename T> raw_ostream &operator<<(const T &t) && {

0 commit comments

Comments
 (0)