mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
f627a26a7b
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
9 lines
173 B
Bash
Executable File
9 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Infer ignores everything that's not in the "current file".
|
|
SKIP_LINES=1
|
|
|
|
. other/analysis/gen-file.sh
|
|
|
|
infer -- clang++ -fsyntax-only amalgamation.cc $CPPFLAGS
|