[flang-commits] [flang] [Flang][Parser] Add missing #include "flang/Common/idioms.h" (PR #77484)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Jan 9 07:14:40 PST 2024
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/77484
The file format-specification.h uses definitions from Fortran::common, but doesn't include any headers that provide them.
>From c8f9ea841ce44e602b6a00348b3d957b3477f118 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: Fri, 5 Jan 2024 13:38:59 -0600
Subject: [PATCH] [Flang][Parser] Add missing #include "flang/Common/idioms.h"
The file format-specification.h uses definitions from Fortran::common,
but doesn't include any headers that provide them.
---
flang/include/flang/Parser/format-specification.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/flang/include/flang/Parser/format-specification.h b/flang/include/flang/Parser/format-specification.h
index a34e68af2832f3..82bc995a93c484 100644
--- a/flang/include/flang/Parser/format-specification.h
+++ b/flang/include/flang/Parser/format-specification.h
@@ -18,6 +18,8 @@
// dependences on other parts of the compiler's source code.
// TODO: support Q formatting extension?
+#include "flang/Common/idioms.h"
+
#include <cinttypes>
#include <list>
#include <optional>
More information about the flang-commits
mailing list