mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-31 13:20:26 +08:00
Grissiom
c289aa9fc1
Scons: add a custom tool to do clang static analyze
Bsps can use the clang analyzer as a tool: env = Environment(toolpath=[os.path.join(RTT_ROOT, 'tools', 'tools')], tools = ['clang-analyze']) When building the project, the static analyzer will be called to check all the C code. The warnings are print to stderr.
Description
Languages
C
97.6%
Assembly
1.9%
Python
0.3%
HTML
0.1%