[Unreal Engine] Add Linux and Mac support to GenerateClangDatabase in UBT

Code that I pushed to Unreal Engine 5 main branch. It adds support to generate the clang database in Linux and Mac.

Before the commit that functionality was only available on Windows.

References:

Disclaimer: You need a GitHub account that is a member of EpicGames team to visualize the links.

Interactions with this post