analyze_cpp
Run up to four Compiler Explorer analyzers in a single compile-only request, returning normalized bounded output per analyzer with overall failure status and static-modeling caveats.
Instructions
Run up to four selected Compiler Explorer analyzers in one compile-only request and return normalized bounded per-tool output with aggregate failure status and static-modeling caveats. Compilation tools transmit supplied source and virtual files to the configured Compiler Explorer backend. Assembly differences are not performance measurements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| source | Yes | ||
| window | No | ||
| filters | No | ||
| compiler | No | clang-latest | |
| analyzers | Yes | ||
| libraries | No | ||
| compiler_arguments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| compiler | Yes | ||
| warnings | No | ||
| analyzers | Yes | ||
| cache_hit | No | ||
| exit_code | Yes | ||
| timed_out | Yes | ||
| diagnostics | Yes | ||
| fingerprint | Yes | ||
| cache_eligible | No | ||
| backend_truncated | No | ||
| response_truncated | No |