[flang-commits] [flang] [Flang][Parser] Add missing #include "flang/Common/idioms.h" (PR #77484)
via flang-commits
flang-commits at lists.llvm.org
Tue Jan 9 07:15:11 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-parser
Author: Krzysztof Parzyszek (kparzysz)
<details>
<summary>Changes</summary>
The file format-specification.h uses definitions from Fortran::common, but doesn't include any headers that provide them.
---
Full diff: https://github.com/llvm/llvm-project/pull/77484.diff
1 Files Affected:
- (modified) flang/include/flang/Parser/format-specification.h (+2)
``````````diff
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>
``````````
</details>
https://github.com/llvm/llvm-project/pull/77484
More information about the flang-commits
mailing list