Added path sequence numbers in HTML output of PathDiagnostics.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49116 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp
index d4b481b..69e77bc 100644
--- a/Driver/HTMLDiagnostics.cpp
+++ b/Driver/HTMLDiagnostics.cpp
@@ -253,6 +253,9 @@
   os << "\" class=\"msg\" style=\"margin-left:"
      << PosNo << "ex\">";
   
+  if (max > 1)
+    os << "<span class=\"PathIndex\">[" << num << "]</span> ";
+  
   os << html::EscapeText(P.getString()) << "</div></td></tr>";
   
   // Insert the new html.