Lines Matching refs:ErrorFound

1457   bool ErrorFound;  member in __anon216cbd260c11::DSAAttrChecker
1501 ErrorFound = true; in VisitDeclRefExpr()
1541 ErrorFound = true; in VisitMemberExpr()
1573 bool isErrorFound() { return ErrorFound; } in isErrorFound()
1580 : Stack(S), SemaRef(SemaRef), ErrorFound(false), CS(CS) {} in DSAAttrChecker()
1829 bool ErrorFound = false; in ActOnOpenMPRegionEnd() local
1843 ErrorFound = true; in ActOnOpenMPRegionEnd()
1850 ErrorFound = true; in ActOnOpenMPRegionEnd()
1857 ErrorFound = true; in ActOnOpenMPRegionEnd()
1859 if (ErrorFound) { in ActOnOpenMPRegionEnd()
3300 bool ErrorFound = false; in checkIfClauses() local
3314 ErrorFound = true; in checkIfClauses()
3337 ErrorFound = true; in checkIfClauses()
3374 ErrorFound = true; in checkIfClauses()
3376 return ErrorFound; in checkIfClauses()
3390 bool ErrorFound = false; in ActOnOpenMPExecutableDirective() local
3408 ErrorFound = cast<OMPFirstprivateClause>(Implicit)->varlist_size() != in ActOnOpenMPExecutableDirective()
3411 ErrorFound = true; in ActOnOpenMPExecutableDirective()
3619 ErrorFound = !VarsWithInheritedDSA.empty() || ErrorFound; in ActOnOpenMPExecutableDirective()
3622 ErrorFound = checkIfClauses(*this, Kind, Clauses, AllowedNameModifiers) || in ActOnOpenMPExecutableDirective()
3623 ErrorFound; in ActOnOpenMPExecutableDirective()
3625 if (ErrorFound) in ActOnOpenMPExecutableDirective()
5703 bool ErrorFound = false; in ActOnOpenMPCriticalDirective() local
5711 ErrorFound = true; in ActOnOpenMPCriticalDirective()
5723 if (ErrorFound) in ActOnOpenMPCriticalDirective()
5958 bool ErrorFound = false; in ActOnOpenMPOrderedDirective() local
5969 ErrorFound = true; in ActOnOpenMPOrderedDirective()
5975 ErrorFound = true; in ActOnOpenMPOrderedDirective()
5981 ErrorFound = true; in ActOnOpenMPOrderedDirective()
5990 if (!ErrorFound && !SC && in ActOnOpenMPOrderedDirective()
5996 ErrorFound = true; in ActOnOpenMPOrderedDirective()
6000 ErrorFound = true; in ActOnOpenMPOrderedDirective()
6004 ErrorFound = true; in ActOnOpenMPOrderedDirective()
6011 ErrorFound = true; in ActOnOpenMPOrderedDirective()
6014 if ((!AStmt && !DependFound) || ErrorFound) in ActOnOpenMPOrderedDirective()
6110 ExprAnalysisErrorCode ErrorFound = NoError; in checkBinaryOperation() local
6145 ErrorFound = NotAnUpdateExpression; in checkBinaryOperation()
6152 ErrorFound = NotABinaryOperator; in checkBinaryOperation()
6157 ErrorFound = NotABinaryExpression; in checkBinaryOperation()
6164 ErrorFound = NotAnAssignmentOp; in checkBinaryOperation()
6166 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkBinaryOperation()
6168 SemaRef.Diag(NoteLoc, NoteId) << ErrorFound << NoteRange; in checkBinaryOperation()
6172 return ErrorFound != NoError; in checkBinaryOperation()
6177 ExprAnalysisErrorCode ErrorFound = NoError; in checkStatement() local
6217 ErrorFound = NotAnUnaryIncDecExpression; in checkStatement()
6224 ErrorFound = NotABinaryOrUnaryExpression; in checkStatement()
6229 ErrorFound = NotAScalarType; in checkStatement()
6234 ErrorFound = NotAnExpression; in checkStatement()
6238 if (ErrorFound != NoError && DiagId != 0 && NoteId != 0) { in checkStatement()
6240 SemaRef.Diag(NoteLoc, NoteId) << ErrorFound << NoteRange; in checkStatement()
6244 if (ErrorFound == NoError && E && X) { in checkStatement()
6263 return ErrorFound != NoError; in checkStatement()
6336 } ErrorFound = NoError; in ActOnOpenMPAtomicDirective() local
6351 ErrorFound = NotAnLValue; in ActOnOpenMPAtomicDirective()
6363 ErrorFound = NotAScalarType; in ActOnOpenMPAtomicDirective()
6370 ErrorFound = NotAnAssignmentOp; in ActOnOpenMPAtomicDirective()
6379 ErrorFound = NotAnExpression; in ActOnOpenMPAtomicDirective()
6383 if (ErrorFound != NoError) { in ActOnOpenMPAtomicDirective()
6386 Diag(NoteLoc, diag::note_omp_atomic_read_write) << ErrorFound in ActOnOpenMPAtomicDirective()
6398 } ErrorFound = NoError; in ActOnOpenMPAtomicDirective() local
6412 ErrorFound = NotAnLValue; in ActOnOpenMPAtomicDirective()
6424 ErrorFound = NotAScalarType; in ActOnOpenMPAtomicDirective()
6431 ErrorFound = NotAnAssignmentOp; in ActOnOpenMPAtomicDirective()
6440 ErrorFound = NotAnExpression; in ActOnOpenMPAtomicDirective()
6444 if (ErrorFound != NoError) { in ActOnOpenMPAtomicDirective()
6447 Diag(NoteLoc, diag::note_omp_atomic_read_write) << ErrorFound in ActOnOpenMPAtomicDirective()
6481 } ErrorFound = NoError; in ActOnOpenMPAtomicDirective() local
6515 ErrorFound = NotAnAssignmentOp; in ActOnOpenMPAtomicDirective()
6517 if (ErrorFound != NoError) { in ActOnOpenMPAtomicDirective()
6520 Diag(NoteLoc, diag::note_omp_atomic_capture) << ErrorFound << NoteRange; in ActOnOpenMPAtomicDirective()
6622 ErrorFound = NotAnAssignmentOp; in ActOnOpenMPAtomicDirective()
6631 ErrorFound = NotAnAssignmentOp; in ActOnOpenMPAtomicDirective()
6657 ErrorFound = NotASpecificExpression; in ActOnOpenMPAtomicDirective()
6671 ErrorFound = NotTwoSubstatements; in ActOnOpenMPAtomicDirective()
6677 ErrorFound = NotACompoundStatement; in ActOnOpenMPAtomicDirective()
6679 if (ErrorFound != NoError) { in ActOnOpenMPAtomicDirective()
6682 Diag(NoteLoc, diag::note_omp_atomic_capture) << ErrorFound << NoteRange; in ActOnOpenMPAtomicDirective()
6964 bool ErrorFound = false; in checkGrainsizeNumTasksClauses() local
6978 ErrorFound = true; in checkGrainsizeNumTasksClauses()
6982 return ErrorFound; in checkGrainsizeNumTasksClauses()