Searched refs:CanAssign (Results 1 – 1 of 1) sorted by relevance
128 bool IsNotEqual, CanAssign, IsRelational; in DiagnoseUnusedComparison() local137 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()156 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()172 if (!IsRelational && CanAssign) { in DiagnoseUnusedComparison()