Squashed 'external/toxcore/c-toxcore/' content from commit 67badf69
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
This commit is contained in:
15
other/analysis/run-clang-analyze
Executable file
15
other/analysis/run-clang-analyze
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
. other/analysis/gen-file.sh
|
||||
|
||||
set -e
|
||||
|
||||
run() {
|
||||
echo "Running Clang static analyzer in variant '$*'"
|
||||
clang++ --analyze amalgamation.cc \
|
||||
"${CPPFLAGS[@]}" \
|
||||
"$@" \
|
||||
-std=c++11
|
||||
}
|
||||
|
||||
. other/analysis/variants.sh
|
Reference in New Issue
Block a user