NullCompilerInterface

Test/fixture compiler that records calls without doing real work.

Inherits toolchain::CompilerInterface
Group toolchain

In the namespace toolchain. Declared in src/libs/libtoolchain/toolchain/CompilerInterface.hpp.

Detailed description

`compileObject` and `archive` always succeed and append their requests to internal counters/lists so tests can assert the recipe issued the expected build steps. Useful for verifying that ctx.compiler is wired correctly without dragging in libllvm.

In this section