Description
clang-tidy for Unreal Engine detects logical errors, performance issues and Unreal Engine specific bugs in your game code, including:
Works in every IDE
Whether you’re building in Visual Studio, Rider, from the command line or on a build server, clang-tidy checks your code and emits warnings and errors as appropriate.
clang-tidy for Unreal Engine hooks into UnrealBuildTool, so there’s no additional configuration. It just works, regardless of how you compile your code.
Plus, it works in Unreal Engine 4.27 and all versions of Unreal Engine 5, so you can use it with the latest Unreal Engine features!
Write your own checks
With clang-tidy for Unreal Engine, you can write your own checks to detect bugs in your own game code.
Using the full power of Clang AST matchers, you can write your checks to target any C++ code you want. You can check for missing calls, incorrect usages of Unreal Engine APIs and anything else you can think of!
Refer to the documentation on how to write your own C++ checks.
Technical Details
Supported Development Platforms: Windows
Supported Target Build Platforms: clang-tidy checks only run when targeting the Win64 platform.
Documentation: https://docs.redpoint.games/clang-tidy-for-unreal-engine/docs/
Example Project: https://src.redpoint.games/redpointgames/examples/-/tree/main/ClangTidy
Supported Engine Versions
5.1 – 5.3