[clang] [Clang] Remove some dead code in getNumTeamsExprForTargetDirective (PR #95695)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 04:26:53 PDT 2024
================
@@ -6037,8 +6037,6 @@ const Expr *CGOpenMPRuntime::getNumTeamsExprForTargetDirective(
MinTeamsVal = MaxTeamsVal = 1;
return nullptr;
}
- MinTeamsVal = MaxTeamsVal = 1;
- return nullptr;
----------------
alexey-bataev wrote:
Wrong fix, previous `if` statement should be removed/fixed
https://github.com/llvm/llvm-project/pull/95695
More information about the cfe-commits
mailing list