Lines Matching refs:ErrorRange
6112 SourceRange ErrorRange, NoteRange; in checkBinaryOperation() local
6142 ErrorRange = AtomicInnerBinOp->getSourceRange(); in checkBinaryOperation()
6149 ErrorRange = AtomicInnerBinOp->getSourceRange(); in checkBinaryOperation()
6156 NoteRange = ErrorRange = AtomicBinOp->getRHS()->getSourceRange(); in checkBinaryOperation()
6161 ErrorRange = AtomicBinOp->getSourceRange(); in checkBinaryOperation()
6167 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation()
6179 SourceRange ErrorRange, NoteRange; in checkStatement() local
6219 ErrorRange = AtomicUnaryOp->getSourceRange(); 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()
6239 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkStatement()
6338 SourceRange ErrorRange, NoteRange; in ActOnOpenMPAtomicDirective() local
6353 ErrorRange = AtomicBinOp->getSourceRange(); in ActOnOpenMPAtomicDirective()
6365 ErrorRange = AtomicBinOp->getSourceRange(); in ActOnOpenMPAtomicDirective()
6372 ErrorRange = AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6381 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in ActOnOpenMPAtomicDirective()
6385 << ErrorRange; in ActOnOpenMPAtomicDirective()
6400 SourceRange ErrorRange, NoteRange; in ActOnOpenMPAtomicDirective() local
6414 ErrorRange = AtomicBinOp->getSourceRange(); in ActOnOpenMPAtomicDirective()
6426 ErrorRange = AtomicBinOp->getSourceRange(); in ActOnOpenMPAtomicDirective()
6433 ErrorRange = AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6442 NoteRange = ErrorRange = SourceRange(NoteLoc, NoteLoc); in ActOnOpenMPAtomicDirective()
6446 << ErrorRange; in ActOnOpenMPAtomicDirective()
6483 SourceRange ErrorRange, NoteRange; in ActOnOpenMPAtomicDirective() local
6510 ErrorRange = AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6519 << ErrorRange; in ActOnOpenMPAtomicDirective()
6625 NoteRange = ErrorRange = FirstBinOp in ActOnOpenMPAtomicDirective()
6635 NoteRange = ErrorRange = in ActOnOpenMPAtomicDirective()
6659 ErrorRange = FirstBinOp->getSourceRange(); in ActOnOpenMPAtomicDirective()
6669 NoteRange = ErrorRange = in ActOnOpenMPAtomicDirective()
6675 NoteRange = ErrorRange = in ActOnOpenMPAtomicDirective()
6681 << ErrorRange; in ActOnOpenMPAtomicDirective()