Lines Matching refs:AtomicBody
6188 if (auto *AtomicBody = dyn_cast<Expr>(S)) { in checkStatement() local
6189 AtomicBody = AtomicBody->IgnoreParenImpCasts(); in checkStatement()
6190 if (AtomicBody->getType()->isScalarType() || in checkStatement()
6191 AtomicBody->isInstantiationDependent()) { in checkStatement()
6193 AtomicBody->IgnoreParenImpCasts())) { in checkStatement()
6202 AtomicBody->IgnoreParenImpCasts())) { in checkStatement()
6207 dyn_cast<UnaryOperator>(AtomicBody->IgnoreParenImpCasts())) { in checkStatement()
6223 } else if (!AtomicBody->isInstantiationDependent()) { in checkStatement()
6225 NoteLoc = ErrorLoc = AtomicBody->getExprLoc(); in checkStatement()
6226 NoteRange = ErrorRange = AtomicBody->getSourceRange(); in checkStatement()
6230 NoteLoc = ErrorLoc = AtomicBody->getLocStart(); in checkStatement()
6341 if (auto AtomicBody = dyn_cast<Expr>(Body)) { in ActOnOpenMPAtomicDirective() local
6343 dyn_cast<BinaryOperator>(AtomicBody->IgnoreParenImpCasts()); in ActOnOpenMPAtomicDirective()
6369 } else if (!AtomicBody->isInstantiationDependent()) { in ActOnOpenMPAtomicDirective()
6371 ErrorLoc = AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6372 ErrorRange = AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6374 : AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6376 : AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6403 if (auto AtomicBody = dyn_cast<Expr>(Body)) { in ActOnOpenMPAtomicDirective() local
6405 dyn_cast<BinaryOperator>(AtomicBody->IgnoreParenImpCasts()); in ActOnOpenMPAtomicDirective()
6430 } else if (!AtomicBody->isInstantiationDependent()) { in ActOnOpenMPAtomicDirective()
6432 ErrorLoc = AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6433 ErrorRange = AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6435 : AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6437 : AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6484 if (auto *AtomicBody = dyn_cast<Expr>(Body)) { in ActOnOpenMPAtomicDirective() local
6494 dyn_cast<BinaryOperator>(AtomicBody->IgnoreParenImpCasts()); in ActOnOpenMPAtomicDirective()
6508 } else if (!AtomicBody->isInstantiationDependent()) { in ActOnOpenMPAtomicDirective()
6509 ErrorLoc = AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6510 ErrorRange = AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()
6512 : AtomicBody->getExprLoc(); in ActOnOpenMPAtomicDirective()
6514 : AtomicBody->getSourceRange(); in ActOnOpenMPAtomicDirective()