bolt/deps/llvm-18.1.8/clang/test/Analysis/scan-build/cxx-name.test

10 lines
349 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
REQUIRES: shell
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)?}}/