Skip to content

Commit 7148791

Browse files
committed
fix indentation
(cherry picked from commit 8a33482)
1 parent 602c375 commit 7148791

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

lldb/source/lldb.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,19 @@ const char *lldb_private::GetVersion() {
6161
auto const swift_version = swift::version::getSwiftFullVersion();
6262
g_version_str += "\n" + swift_version;
6363
#else
64-
// getSwiftFullVersion() also prints clang and llvm versions, no
65-
// need to print them again. We keep this code here to not diverge
66-
// too much from upstream.
67-
std::string clang_rev(clang::getClangRevision());
68-
if (clang_rev.length() > 0) {
69-
g_version_str += "\n clang revision ";
70-
g_version_str += clang_rev;
71-
}
72-
std::string llvm_rev(clang::getLLVMRevision());
73-
if (llvm_rev.length() > 0) {
74-
g_version_str += "\n llvm revision ";
75-
g_version_str += llvm_rev;
76-
}
64+
// getSwiftFullVersion() also prints clang and llvm versions, no
65+
// need to print them again. We keep this code here to not diverge
66+
// too much from upstream.
67+
std::string clang_rev(clang::getClangRevision());
68+
if (clang_rev.length() > 0) {
69+
g_version_str += "\n clang revision ";
70+
g_version_str += clang_rev;
71+
}
72+
std::string llvm_rev(clang::getLLVMRevision());
73+
if (llvm_rev.length() > 0) {
74+
g_version_str += "\n llvm revision ";
75+
g_version_str += llvm_rev;
76+
}
7777
#endif // LLDB_ENABLE_SWIFT
7878
}
7979
return g_version_str.c_str();

0 commit comments

Comments
 (0)