Skip to content

Commit 7a91726

Browse files
joker-ephgithub-actions[bot]
authored andcommitted
Automerge: Revert "Adjust LDBG output: surround DebugType between [ and ]" (#150685)
Reverts llvm/llvm-project#150671 ; buildbot failure.
2 parents fa8c8ef + 20d9353 commit 7a91726

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)