Home
last modified time | relevance | path

Searched refs:AllowIntegerConditions (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DImplicitBoolConversionCheck.h39 const bool AllowIntegerConditions; variable
H A DImplicitBoolConversionCheck.cpp253 AllowIntegerConditions(Options.get("AllowIntegerConditions", false)), in ImplicitBoolConversionCheck()
258 Options.store(Opts, "AllowIntegerConditions", AllowIntegerConditions); in storeOptions()
360 if (AllowIntegerConditions && Cast->getCastKind() == CK_IntegralToBoolean && in handleCastToBool()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dimplicit-bool-conversion.rst127 .. option:: AllowIntegerConditions