Searched refs:DeviceNumExpr (Results 1 – 3 of 3) sorted by relevance
857 void ActOnOpenMPDeviceNum(Expr *DeviceNumExpr);
835 Expr *DeviceNumExpr = DeviceNumExprResult.get(); in parseOMPTraitPropertyKind() local836 Actions.OpenMP().ActOnOpenMPDeviceNum(DeviceNumExpr); in parseOMPTraitPropertyKind()
16037 void SemaOpenMP::ActOnOpenMPDeviceNum(Expr *DeviceNumExpr) { in ActOnOpenMPDeviceNum() argument16041 if (!DeviceNumExpr->isValueDependent() && in ActOnOpenMPDeviceNum()16042 DeviceNumExpr->EvaluateAsInt(EvalResult, SemaRef.Context)) { in ActOnOpenMPDeviceNum()16048 Diag(DeviceNumExpr->getExprLoc(), in ActOnOpenMPDeviceNum()16050 << "device_num" << 0 << DeviceNumExpr->getSourceRange(); in ActOnOpenMPDeviceNum()16052 } else if (auto *DeclRef = dyn_cast<DeclRefExpr>(DeviceNumExpr)) { in ActOnOpenMPDeviceNum()16059 Diag(DeviceNumExpr->getExprLoc(), diag::err_expected_expression); in ActOnOpenMPDeviceNum()