aboutsummaryrefslogtreecommitdiff
path: root/Driver/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/HTMLDiagnostics.cpp')
-rw-r--r--Driver/HTMLDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp
index 79eae90f12..82696664ac 100644
--- a/Driver/HTMLDiagnostics.cpp
+++ b/Driver/HTMLDiagnostics.cpp
@@ -140,7 +140,7 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic& D) {
if (!BugDesc.empty()) {
std::ostringstream os;
- os << "<!-- BUGDESC " << BugDesc << " -->\n";
+ os << "\n<!-- BUGDESC " << BugDesc << " -->\n";
R.InsertStrBefore(SourceLocation::getFileLoc(FileID, 0), os.str());
}