================
@@ -84,7 +84,7 @@ serializeLocation(const Location &Loc,
     return LocationObj;
   SmallString<128> FileURL(*RepositoryUrl);
   sys::path::append(FileURL, sys::path::Style::posix, Loc.Filename);
-  FileURL += "#" + std::to_string(Loc.StartLineNumber);
+  FileURL += "#L" + std::to_string(Loc.StartLineNumber);
----------------
evelez7 wrote:

I added this, but the method of passing around an optional in `JSONGenerator` 
seems to be reaching its limit. It seems like it would make more sense to 
create a class with all of these static functions as methods that can access a 
`ClangDocContext` as a field. Thoughts?

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

Reply via email to