Changeset View
Changeset View
Standalone View
Standalone View
test/clang-tidy/enable-alpha-checks.cpp
- This file was added.
// Check if '-allow-enabling-alpha-checks' is visible for users | |||||
// RUN: clang-tidy -help | not grep 'enable-alpha-checks' | |||||
alexfh: grep 'allow-enabling-alpha-checks' | |||||
Not Done ReplyInline Actionsnit: Add a trailing period. alexfh: nit: Add a trailing period. | |||||
// Check if '-allow-enabling-alpha-checks' enables alpha checks. | |||||
// RUN: clang-tidy -checks=* -list-checks | not grep 'clang-analyzer-alpha' | |||||
// RUN: clang-tidy -checks=* -list-checks -allow-enabling-alpha-checks | grep 'clang-analyzer-alpha' |
grep 'allow-enabling-alpha-checks'