issues between a bitwise operator and a comparison operator. Fixes
<rdar://problem/
9637759>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133630
91177308-0d34-0410-b5e6-
96231b3b80d8
SuggestParentheses(Self, OpLoc,
Self.PDiag(diag::note_precedence_bitwise_first)
<< BinOp::getOpcodeStr(Opc),
- SourceRange(lhs->getLocEnd(), cast<BinOp>(rhs)->getLHS()->getLocStart()));
+ SourceRange(lhs->getLocStart(),
+ cast<BinOp>(rhs)->getLHS()->getLocStart()));
}
}