================
@@ -68,9 +82,11 @@ enum Color {
 // HTML-INDEX-NEXT:           <p> For specifying RGB colors</p>
 // HTML-INDEX-NEXT:       </div>
 // HTML-INDEX-NEXT:     </div>
-// HTML-INDEX-NEXT:     <p>Defined at line [[@LINE-45]] of file 
{{.*}}clang-tools-extra{{[\/]}}test{{[\/]}}clang-doc{{[\/]}}enum.cpp</p>
+// HTML-INDEX-NEXT:     <p>Defined at line [[@LINE-58]] of file 
{{.*}}clang-tools-extra{{[\/]}}test{{[\/]}}clang-doc{{[\/]}}enum.cpp</p>
 // HTML-INDEX-NEXT:   </div>
 
+// JSON-INDEX:      "TextComment": " Comment 1"
+
----------------
SamrudhNelli wrote:

> The leading space tells me this isn't handled correctly in the generator (or 
> maybe even in info geneartion). They likely need to be trimmed first, either 
> in the json generator or when we're processing the comments in the first 
> place.

Removed the leading whitespace, but many tests are written with those leading 
whitespace in mind, and are now broken. Is it okay if I update those?

https://github.com/llvm/llvm-project/pull/183085
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to