[llvm-branch-commits] [flang] [flang][OpenMP] Refactor CountGeneratedNests, NFC (PR #185293)
Tom Eccles via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 9 05:09:16 PDT 2026
================
@@ -248,7 +248,7 @@ void OmpStructureChecker::CheckSIMDNest(const parser::OpenMPConstruct &c) {
// Count the number of loop nests generated by `epc`. This is just a helper
// function for counting the number of loop nests in a parser::Block.
-static std::optional<size_t> CountGeneratedNests(
+static std::optional<int64_t> GetNumGeneratedNests(
const parser::ExecutionPartConstruct &epc) {
if (parser::Unwrap<parser::DoConstruct>(epc)) {
----------------
tblah wrote:
nit: I think this is now dead because of the new non-static entry point.
https://github.com/llvm/llvm-project/pull/185293
More information about the llvm-branch-commits
mailing list