[flang-commits] [flang] d4afb1b - [flang][OpenMP] Remove unused function declaration, NFC (#187101)
via flang-commits
flang-commits at lists.llvm.org
Tue Mar 17 12:47:42 PDT 2026
Author: Krzysztof Parzyszek
Date: 2026-03-17T14:47:37-05:00
New Revision: d4afb1bfed535ac31766a6692e734b9a611afb9e
URL: https://github.com/llvm/llvm-project/commit/d4afb1bfed535ac31766a6692e734b9a611afb9e
DIFF: https://github.com/llvm/llvm-project/commit/d4afb1bfed535ac31766a6692e734b9a611afb9e.diff
LOG: [flang][OpenMP] Remove unused function declaration, NFC (#187101)
The function `GetNumGeneratedNestsFrom` has been removed, but repeated
local rebases stubbornly inserted the declaration back in.
Added:
Modified:
flang/include/flang/Semantics/openmp-utils.h
Removed:
################################################################################
diff --git a/flang/include/flang/Semantics/openmp-utils.h b/flang/include/flang/Semantics/openmp-utils.h
index cd599237e4182..91465f84d54ca 100644
--- a/flang/include/flang/Semantics/openmp-utils.h
+++ b/flang/include/flang/Semantics/openmp-utils.h
@@ -134,10 +134,6 @@ std::pair<std::optional<int64_t>, Reason> GetNumArgumentsWithReason(
bool IsLoopTransforming(llvm::omp::Directive dir);
bool IsFullUnroll(const parser::OpenMPLoopConstruct &x);
-std::optional<int64_t> GetNumGeneratedNestsFrom(
- const parser::ExecutionPartConstruct &epc,
- std::optional<int64_t> nestedCount);
-
// Return the depth of the affected nests:
// {affected-depth, must-be-perfect-nest, reason}.
std::tuple<std::optional<int64_t>, bool, Reason> GetAffectedNestDepthWithReason(
More information about the flang-commits
mailing list