Lines Matching refs:NoteLoc
4665 SourceLocation NoteLoc; member in __anon216cbd260d11::OpenMPAtomicUpdateChecker
4720 SourceLocation ErrorLoc, NoteLoc; in checkBinaryOperation() local
4752 NoteLoc = X->getExprLoc(); in checkBinaryOperation()
4759 NoteLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
4760 NoteRange = SourceRange(NoteLoc, NoteLoc); in checkBinaryOperation()
4764 NoteLoc = ErrorLoc = AtomicBinOp->getRHS()->getExprLoc(); in checkBinaryOperation()
4771 NoteLoc = AtomicBinOp->getOperatorLoc(); in checkBinaryOperation()
4772 NoteRange = SourceRange(NoteLoc, NoteLoc); in checkBinaryOperation()
4777 SemaRef.Diag(NoteLoc, NoteId) << ErrorFound << NoteRange; in checkBinaryOperation()
4787 SourceLocation ErrorLoc, NoteLoc; in checkStatement() local
4829 NoteLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
4830 NoteRange = SourceRange(NoteLoc, NoteLoc); in checkStatement()
4834 NoteLoc = ErrorLoc = AtomicBody->getExprLoc(); in checkStatement()
4839 NoteLoc = ErrorLoc = AtomicBody->getLocStart(); in checkStatement()
4840 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in checkStatement()
4844 NoteLoc = ErrorLoc = S->getLocStart(); in checkStatement()
4845 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in checkStatement()
4849 SemaRef.Diag(NoteLoc, NoteId) << ErrorFound << NoteRange; in checkStatement()
4946 SourceLocation ErrorLoc, NoteLoc; in ActOnOpenMPAtomicDirective() local
4963 NoteLoc = NotLValueExpr->getExprLoc(); in ActOnOpenMPAtomicDirective()
4975 NoteLoc = NotScalarExpr->getExprLoc(); in ActOnOpenMPAtomicDirective()
4982 NoteLoc = AtomicBinOp ? AtomicBinOp->getOperatorLoc() in ActOnOpenMPAtomicDirective()
4989 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
4990 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in ActOnOpenMPAtomicDirective()
4995 Diag(NoteLoc, diag::note_omp_atomic_read_write) << ErrorFound in ActOnOpenMPAtomicDirective()
5008 SourceLocation ErrorLoc, NoteLoc; in ActOnOpenMPAtomicDirective() local
5024 NoteLoc = X->getExprLoc(); in ActOnOpenMPAtomicDirective()
5036 NoteLoc = NotScalarExpr->getExprLoc(); in ActOnOpenMPAtomicDirective()
5043 NoteLoc = AtomicBinOp ? AtomicBinOp->getOperatorLoc() in ActOnOpenMPAtomicDirective()
5050 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
5051 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in ActOnOpenMPAtomicDirective()
5056 Diag(NoteLoc, diag::note_omp_atomic_read_write) << ErrorFound in ActOnOpenMPAtomicDirective()
5091 SourceLocation ErrorLoc, NoteLoc; in ActOnOpenMPAtomicDirective() local
5120 NoteLoc = AtomicBinOp ? AtomicBinOp->getOperatorLoc() in ActOnOpenMPAtomicDirective()
5129 Diag(NoteLoc, diag::note_omp_atomic_capture) << ErrorFound << NoteRange; in ActOnOpenMPAtomicDirective()
5232 NoteLoc = ErrorLoc = FirstBinOp ? FirstBinOp->getOperatorLoc() in ActOnOpenMPAtomicDirective()
5241 NoteLoc = ErrorLoc = SecondBinOp in ActOnOpenMPAtomicDirective()
5269 NoteLoc = SecondBinOp->getLHS()->getExprLoc(); in ActOnOpenMPAtomicDirective()
5277 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
5283 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
5291 Diag(NoteLoc, diag::note_omp_atomic_capture) << ErrorFound << NoteRange; in ActOnOpenMPAtomicDirective()