aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/scan-build/cxx-name.test
blob: b602cb5c5231c683a6a8958838b32533fb24858e (plain)
1
2
3
4
5
6
7
RUN: %scan-build sh -c 'echo "CLANG_CXX=/$(basename "$CLANG_CXX")/"' | FileCheck %s

Check that scan-build sets the CLANG_CXX environment variable (meant to be
consumed by ccc-analyzer) to an appropriate pathname for the clang++ executable,
derived from the pathname of the clang executable:

CHECK: CLANG_CXX=/clang++{{(\.exe)?}}/