[flang-commits] [flang] [flang] Add missing #include for MSVC (PR #161437)
via flang-commits
flang-commits at lists.llvm.org
Tue Sep 30 13:34:24 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-semantics
Author: Peter Klausler (klausler)
<details>
<summary>Changes</summary>
I moved a function to Evaluate/tools.cpp in an attempt to dodge some MSVC compiler issue but didn't add an include directive for Evaluate/tools.h to Evaluate/constant.cpp.
---
Full diff: https://github.com/llvm/llvm-project/pull/161437.diff
1 Files Affected:
- (modified) flang/lib/Evaluate/constant.cpp (+1)
``````````diff
diff --git a/flang/lib/Evaluate/constant.cpp b/flang/lib/Evaluate/constant.cpp
index f57dd825a7a7c..73b6482518b38 100644
--- a/flang/lib/Evaluate/constant.cpp
+++ b/flang/lib/Evaluate/constant.cpp
@@ -9,6 +9,7 @@
#include "flang/Evaluate/constant.h"
#include "flang/Evaluate/expression.h"
#include "flang/Evaluate/shape.h"
+#include "flang/Evaluate/tools.h"
#include "flang/Evaluate/type.h"
#include <string>
``````````
</details>
https://github.com/llvm/llvm-project/pull/161437
More information about the flang-commits
mailing list