• Home
  • Raw
  • Download

Lines Matching refs:ErrorLoc

6111   SourceLocation ErrorLoc, NoteLoc;  in checkBinaryOperation()  local
6141 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation()
6148 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation()
6155 NoteLoc = ErrorLoc = AtomicBinOp->getRHS()->getExprLoc(); in checkBinaryOperation()
6160 ErrorLoc = AtomicBinOp->getExprLoc(); in checkBinaryOperation()
6167 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation()
6178 SourceLocation ErrorLoc, NoteLoc; in checkStatement() local
6218 ErrorLoc = AtomicUnaryOp->getExprLoc(); in checkStatement()
6225 NoteLoc = ErrorLoc = AtomicBody->getExprLoc(); in checkStatement()
6230 NoteLoc = ErrorLoc = AtomicBody->getLocStart(); in checkStatement()
6235 NoteLoc = ErrorLoc = S->getLocStart(); in checkStatement()
6239 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkStatement()
6337 SourceLocation ErrorLoc, NoteLoc; in ActOnOpenMPAtomicDirective() local
6352 ErrorLoc = AtomicBinOp->getExprLoc(); in ActOnOpenMPAtomicDirective()
6364 ErrorLoc = AtomicBinOp->getExprLoc(); in ActOnOpenMPAtomicDirective()
6371 ErrorLoc = AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6380 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
6384 Diag(ErrorLoc, diag::err_omp_atomic_read_not_expression_statement) in ActOnOpenMPAtomicDirective()
6399 SourceLocation ErrorLoc, NoteLoc; in ActOnOpenMPAtomicDirective() local
6413 ErrorLoc = AtomicBinOp->getExprLoc(); in ActOnOpenMPAtomicDirective()
6425 ErrorLoc = AtomicBinOp->getExprLoc(); in ActOnOpenMPAtomicDirective()
6432 ErrorLoc = AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6441 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
6445 Diag(ErrorLoc, diag::err_omp_atomic_write_not_expression_statement) in ActOnOpenMPAtomicDirective()
6482 SourceLocation ErrorLoc, NoteLoc; in ActOnOpenMPAtomicDirective() local
6509 ErrorLoc = AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6518 Diag(ErrorLoc, diag::err_omp_atomic_capture_not_expression_statement) in ActOnOpenMPAtomicDirective()
6623 NoteLoc = ErrorLoc = FirstBinOp ? FirstBinOp->getOperatorLoc() in ActOnOpenMPAtomicDirective()
6627 : SourceRange(ErrorLoc, ErrorLoc); in ActOnOpenMPAtomicDirective()
6632 NoteLoc = ErrorLoc = SecondBinOp in ActOnOpenMPAtomicDirective()
6637 : SourceRange(ErrorLoc, ErrorLoc); in ActOnOpenMPAtomicDirective()
6658 ErrorLoc = FirstBinOp->getExprLoc(); in ActOnOpenMPAtomicDirective()
6668 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
6674 NoteLoc = ErrorLoc = Body->getLocStart(); in ActOnOpenMPAtomicDirective()
6680 Diag(ErrorLoc, diag::err_omp_atomic_capture_not_compound_statement) in ActOnOpenMPAtomicDirective()