[flang-commits] [flang] 3ae01af - [flang][NFC] Remove dead declarations and fix include guard (#219961)
via flang-commits
flang-commits at lists.llvm.org
Wed Sep 2 08:55:21 PDT 2026
Author: Mattéo Rizza Murgier
Date: 2026-09-02T17:55:16+02:00
New Revision: 3ae01af71df1ab3eb868ca15297c565568019ce8
URL: https://github.com/llvm/llvm-project/commit/3ae01af71df1ab3eb868ca15297c565568019ce8
DIFF: https://github.com/llvm/llvm-project/commit/3ae01af71df1ab3eb868ca15297c565568019ce8.diff
LOG: [flang][NFC] Remove dead declarations and fix include guard (#219961)
Added:
Modified:
flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
Removed:
################################################################################
diff --git a/flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h b/flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
index d6f0f5051e219..da945efb6604c 100644
--- a/flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
+++ b/flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
@@ -13,14 +13,13 @@
//
//===----------------------------------------------------------------------===//
-#ifndef FORTRAN_LOWER_RUNTIME_H
-#define FORTRAN_LOWER_RUNTIME_H
+#ifndef FORTRAN_OPTIMIZER_BUILDER_RUNTIME_INTRINSICS_H
+#define FORTRAN_OPTIMIZER_BUILDER_RUNTIME_INTRINSICS_H
#include <optional>
namespace mlir {
class Location;
-class Type;
class Value;
} // namespace mlir
@@ -33,12 +32,6 @@ namespace runtime {
mlir::Value genAssociated(fir::FirOpBuilder &, mlir::Location,
mlir::Value pointer, mlir::Value target);
-void genPointerAssociate(fir::FirOpBuilder &, mlir::Location,
- mlir::Value pointer, mlir::Value target);
-void genPointerAssociateRemapping(fir::FirOpBuilder &, mlir::Location,
- mlir::Value pointer, mlir::Value target,
- mlir::Value bounds, bool isMonomorphic);
-
mlir::Value genCpuTime(fir::FirOpBuilder &, mlir::Location);
void genDateAndTime(fir::FirOpBuilder &, mlir::Location,
std::optional<fir::CharBoxValue> date,
@@ -126,4 +119,4 @@ void genShowDescriptor(fir::FirOpBuilder &builder, mlir::Location loc,
} // namespace runtime
} // namespace fir
-#endif // FORTRAN_LOWER_RUNTIME_H
+#endif // FORTRAN_OPTIMIZER_BUILDER_RUNTIME_INTRINSICS_H
More information about the flang-commits
mailing list