mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 00:09:23 -06:00
This patch decouples the formatting logic (which is used by the clang-format feature) from the http API logic. This is done with the new FormattingService populates the formatters from the config, and wraps formatter execution. This way, both the http controller and the clang-format functionality can use it, reducing tight coupling.