Lines Matching refs:NoteRange
6112 SourceRange ErrorRange, NoteRange; in checkBinaryOperation() local
6144 NoteRange = X->getSourceRange(); in checkBinaryOperation()
6151 NoteRange = SourceRange(NoteLoc, NoteLoc); in checkBinaryOperation()
6156 NoteRange = ErrorRange = AtomicBinOp->getRHS()->getSourceRange(); in checkBinaryOperation()
6163 NoteRange = SourceRange(NoteLoc, NoteLoc); in checkBinaryOperation()
6168 SemaRef.Diag(NoteLoc, NoteId) << ErrorFound << NoteRange; in checkBinaryOperation()
6179 SourceRange ErrorRange, NoteRange; in checkStatement() local
6221 NoteRange = SourceRange(NoteLoc, NoteLoc); in checkStatement()
6226 NoteRange = ErrorRange = AtomicBody->getSourceRange(); in checkStatement()
6231 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in checkStatement()
6236 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in checkStatement()
6240 SemaRef.Diag(NoteLoc, NoteId) << ErrorFound << NoteRange; in checkStatement()
6338 SourceRange ErrorRange, NoteRange; in ActOnOpenMPAtomicDirective() local
6355 NoteRange = NotLValueExpr->getSourceRange(); in ActOnOpenMPAtomicDirective()
6367 NoteRange = NotScalarExpr->getSourceRange(); in ActOnOpenMPAtomicDirective()
6375 NoteRange = AtomicBinOp ? AtomicBinOp->getSourceRange() in ActOnOpenMPAtomicDirective()
6381 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in ActOnOpenMPAtomicDirective()
6387 << NoteRange; in ActOnOpenMPAtomicDirective()
6400 SourceRange ErrorRange, NoteRange; in ActOnOpenMPAtomicDirective() local
6416 NoteRange = X->getSourceRange(); in ActOnOpenMPAtomicDirective()
6428 NoteRange = NotScalarExpr->getSourceRange(); in ActOnOpenMPAtomicDirective()
6436 NoteRange = AtomicBinOp ? AtomicBinOp->getSourceRange() in ActOnOpenMPAtomicDirective()
6442 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in ActOnOpenMPAtomicDirective()
6448 << NoteRange; in ActOnOpenMPAtomicDirective()
6483 SourceRange ErrorRange, NoteRange; in ActOnOpenMPAtomicDirective() local
6513 NoteRange = AtomicBinOp ? AtomicBinOp->getSourceRange() in ActOnOpenMPAtomicDirective()
6520 Diag(NoteLoc, diag::note_omp_atomic_capture) << ErrorFound << NoteRange; in ActOnOpenMPAtomicDirective()
6625 NoteRange = ErrorRange = FirstBinOp in ActOnOpenMPAtomicDirective()
6635 NoteRange = ErrorRange = in ActOnOpenMPAtomicDirective()
6661 NoteRange = SecondBinOp->getRHS()->getSourceRange(); in ActOnOpenMPAtomicDirective()
6669 NoteRange = ErrorRange = in ActOnOpenMPAtomicDirective()
6675 NoteRange = ErrorRange = in ActOnOpenMPAtomicDirective()
6682 Diag(NoteLoc, diag::note_omp_atomic_capture) << ErrorFound << NoteRange; in ActOnOpenMPAtomicDirective()