[llvm] [flang-rt] Added missing RT_API_ATTRS for CheckBoundaryType(). (PR #199244)
Slava Zakharin via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 10:55:20 PDT 2026
https://github.com/vzakhari created https://github.com/llvm/llvm-project/pull/199244
None
>From 4386798487e8341f7b0f49bc4c4f130dd11f4102 Mon Sep 17 00:00:00 2001
From: Slava Zakharin <szakharin at nvidia.com>
Date: Fri, 22 May 2026 10:53:43 -0700
Subject: [PATCH] [flang-rt] Added missing RT_API_ATTRS for
CheckBoundaryType().
---
flang-rt/lib/runtime/transformational.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flang-rt/lib/runtime/transformational.cpp b/flang-rt/lib/runtime/transformational.cpp
index cb3c8f57f8e56..395721ca2b9bd 100644
--- a/flang-rt/lib/runtime/transformational.cpp
+++ b/flang-rt/lib/runtime/transformational.cpp
@@ -583,7 +583,7 @@ void RTDEF(CshiftVector)(Descriptor &result, const Descriptor &source,
}
}
-static void CheckBoundaryType(const Descriptor &array,
+static RT_API_ATTRS void CheckBoundaryType(const Descriptor &array,
const Descriptor &boundary, Terminator &terminator) {
if (const auto *boundaryAddendum{boundary.Addendum()}) {
if (const auto *boundaryDT{boundaryAddendum->derivedType()}) {
More information about the llvm-commits
mailing list