clang/test/Analysis/scan-build/cxx-name.test
raw| 1 | RUN: %scan-build sh -c 'echo "CLANG_CXX=/$(basename "$CLANG_CXX")/"' | FileCheck %s |
| 2 | |
| 3 | Check that scan-build sets the CLANG_CXX environment variable (meant to be |
| 4 | consumed by ccc-analyzer) to an appropriate pathname for the clang++ executable, |
| 5 | derived from the pathname of the clang executable: |
| 6 | |
| 7 | CHECK: CLANG_CXX=/clang++{{(\.exe)?}}/ |