Age | Commit message (Collapse) | Author |
|
|
|
|
|
That way CMake's behavior matches what autotools does -- letting
toxcore/logger.h handle the default case.
|
|
We should avoid recursion, as it makes reasoning about stack growth
harder. This tool shows (currently) 4 (non-tail) recursive functions, at
least 2 of which are easy to fix.
|
|
Not only the second time it fails.
|
|
This checks that (some of) the code follows some simplicity and naming
guidelines set by the tool.
|
|
This uses a single .cc file containing almost all the code in the
repository to perform whole program analysis.
|
|
Also some other cleanups. This PR means that future PRs, i.e. the PGC PR,
must not break the rules established here.
|
|
Most of the auto-tests should use this fixture, but I've only done a few
to set an example.
|
|
Have one script per build. This means more duplication between the
scripts, but it's much easier to understand and to run locally.
|