You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
448 B

// REQUIRES: static-analyzer
// Check if '-allow-enabling-analyzer-alpha-checkers' is visible for users.
// RUN: clang-tidy -help | not grep 'allow-enabling-analyzer-alpha-checkers'
// Check if '-allow-enabling-analyzer-alpha-checkers' enables alpha checks.
// RUN: clang-tidy -checks=* -list-checks | not grep 'clang-analyzer-alpha'
// RUN: clang-tidy -checks=* -list-checks -allow-enabling-analyzer-alpha-checkers | grep 'clang-analyzer-alpha'