edi/scripts/clang_include_dir.sh

9 lines
163 B
Bash
Raw Permalink Normal View History

2017-10-03 09:52:45 -07:00
#!/bin/sh
2017-10-04 15:52:29 -07:00
BINDIR=
if [[ -d /usr/local/opt/llvm ]]; then
BINDIR="/usr/local/opt/llvm/bin/"
fi
${BINDIR}clang -E - -v < /dev/null 2>&1 | grep "^ /" | grep clang