| Issue |
181767
|
| Summary |
[clang-doc] `JSONGenerator` should be a class
|
| Labels |
clang-doc
|
| Assignees |
|
| Reporter |
evelez7
|
Currently, `JSONGenerator` only implements its inherited methods and relies on an interface of static functions for its functionality. This was fine for a while but extending it for use in replacing the older backends shows its shortcomings; namely, passing around `ClangDocContext` to a series of static methods is incredibly cumbersome. `JSONGenerator` should be a class that holds reference to `CDCtx`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs