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