llvm-project/clang/test/Analysis/scan-build
Stephan Bergmann 7a5184ed95 [scan-build] Fix clang++ pathname again
e00629f777 "[scan-build] Fix clang++ pathname" had
removed the -MAJOR.MINOR suffix, but since presumably LLVM 7 the suffix is only
-MAJOR, so ClangCXX (i.e., the CLANG_CXX environment variable passed to
clang/tools/scan-build/libexec/ccc-analyzer) now contained a non-existing
/path/to/clang-12++ (which apparently went largely unnoticed as
clang/tools/scan-build/libexec/ccc-analyzer falls back to just 'clang++' if the
executable denoted by CLANG_CXX does not exist).

For the new clang/test/Analysis/scan-build/cxx-name.test to be effective,
%scan-build must now take care to pass the clang executable's resolved pathname
(i.e., ending in .../clang-MAJOR rather than just .../clang) to --use-analyzer.

Differential Revision: https://reviews.llvm.org/D89481
2020-11-03 08:17:17 +01:00
..
Inputs [analyzer] scan-build: Fix silencing multiple core checkers. 2020-07-18 10:37:00 -07:00
rebuild_index Revert "Revert "[analyzer] Teach scan-build how to rebuild index.html without analyzing."" 2020-04-07 21:03:16 +03:00
cxx-name.test [scan-build] Fix clang++ pathname again 2020-11-03 08:17:17 +01:00
exclude_directories.test Revert "[analyzer] Try to lift 'REQUIRES: shell' for scan-build tests." 2020-04-07 16:37:42 +03:00
help.test Revert "[analyzer] Try to lift 'REQUIRES: shell' for scan-build tests." 2020-04-07 16:37:42 +03:00
html_output.test Revert "[analyzer] Try to lift 'REQUIRES: shell' for scan-build tests." 2020-04-07 16:37:42 +03:00
lit.local.cfg [scan-build] Fix clang++ pathname again 2020-11-03 08:17:17 +01:00
plist_html_output.test Revert "[analyzer] Try to lift 'REQUIRES: shell' for scan-build tests." 2020-04-07 16:37:42 +03:00
plist_output.test Revert "[analyzer] Try to lift 'REQUIRES: shell' for scan-build tests." 2020-04-07 16:37:42 +03:00
silence-core-checkers.test [analyzer] scan-build: Fix silencing multiple core checkers. 2020-07-18 10:37:00 -07:00