]> granicus.if.org Git - clang/commitdiff
Put "BUGDESC" comment tag on its own line.
authorTed Kremenek <kremenek@apple.com>
Wed, 2 Apr 2008 18:03:20 +0000 (18:03 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 2 Apr 2008 18:03:20 +0000 (18:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49103 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/HTMLDiagnostics.cpp

index 79eae90f1256a69724b018221a128412af3a66b2..82696664ac41a23a88b548fdcfdf6885cf10bbce 100644 (file)
@@ -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());
   }