Clarification on long-term licensing plans for AutoRTFM Clang patches

The AutoRTFM patches are now in the UE6 depot, and are obviously used to create the RTFM variant of Clang that is used to support Verse. This code is not currently open licensed.

We also have our own variant of Clang https://github.com/RedpointGames/llvm\-project/wiki, which adds support for custom static analysis rules through “.clang-rules.yml” files. Being able to use custom static analysis rules is very important for our use cases, as it helps mitigate plugin/project specific mistakes. Integration of custom static analysis into the compiler is also much more performant than relying on other tools like clang-tidy.

Our static analysis patches are open source, with the resulting Clang binaries published on GitHub for our automated tooling to fetch on demand.

The problem is that if UE6 requires Clang with AutoRTFM, and the AutoRTFM patches are not open source, it’s going to make it incredibly difficult for us to maintain a combined Clang+AutoRTFM+ClangRules build. At the very least, it would almost certainly prevent anyone else from using the Clang variant we’ve published.

Thus I wanted to see if there were any plans to open source the AutoRTFM patches to make it easier for us to build and distribute a custom version of Clang that has both sets of patches.

[Attachment Removed]

Hi

Open sourcing the Clang patches is part of the plan but we are not there yet.

Regards,

Martin

[Attachment Removed]