[flang-commits] [flang] [flang][rt][device] Use enum-set.h as Fortran.h (PR #119611)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Wed Dec 11 12:35:25 PST 2024
https://github.com/clementval created https://github.com/llvm/llvm-project/pull/119611
The code in `flang/include/flang/Common/Fortran-consts.h` was taken from `flang/include/flang/Common/Fortran.h` where we use `enum-set.h` and not `enum-class.h`. This was making some of our downstream device build failing.
>From 16365c3a301ae9def5533e01a669335756128b3d Mon Sep 17 00:00:00 2001
From: Valentin Clement <clementval at gmail.com>
Date: Wed, 11 Dec 2024 12:33:50 -0800
Subject: [PATCH] [flang][rt][device] Use enaum-set.h as Fortran.h
---
flang/include/flang/Common/Fortran-consts.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flang/include/flang/Common/Fortran-consts.h b/flang/include/flang/Common/Fortran-consts.h
index eedcdae335c400..cf7884e7454c0c 100644
--- a/flang/include/flang/Common/Fortran-consts.h
+++ b/flang/include/flang/Common/Fortran-consts.h
@@ -9,7 +9,7 @@
#ifndef FORTRAN_COMMON_FORTRAN_CONSTS_H_
#define FORTRAN_COMMON_FORTRAN_CONSTS_H_
-#include "flang/Common/enum-class.h"
+#include "enum-set.h"
#include <cstdint>
namespace Fortran::common {
More information about the flang-commits
mailing list