mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
16 lines
233 B
Bash
Executable File
16 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. other/analysis/gen-file.sh
|
|
|
|
set -e
|
|
|
|
run() {
|
|
echo "Running Clang static analyzer in variant '$*'"
|
|
clang++ --analyze amalgamation.cc \
|
|
"${CPPFLAGS[@]}" \
|
|
"$@" \
|
|
-std=c++20
|
|
}
|
|
|
|
. other/analysis/variants.sh
|