forked from OSchip/llvm-project
9 lines
448 B
C++
9 lines
448 B
C++
// 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'
|