[flang-commits] [flang] [flang] Better IS_CONTIGUOUS folding for substrings (PR #115970)
via flang-commits
flang-commits at lists.llvm.org
Thu Nov 14 12:28:51 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff fef4c8a43ac2dbec7921de7963a7bc3fde4f90f6 9870674383b2c3c0fd7cd6c9c388dff7c256cc08 --extensions cpp -- flang/lib/Evaluate/check-expression.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Evaluate/check-expression.cpp b/flang/lib/Evaluate/check-expression.cpp
index e7a6799de4..998378c44c 100644
--- a/flang/lib/Evaluate/check-expression.cpp
+++ b/flang/lib/Evaluate/check-expression.cpp
@@ -937,7 +937,7 @@ public:
upperIsLen = len && *upper >= *len;
} else if (const auto *inquiry{
UnwrapConvertedExpr<DescriptorInquiry>(*upperExpr)};
- inquiry && inquiry->field() == DescriptorInquiry::Field::Len) {
+ inquiry && inquiry->field() == DescriptorInquiry::Field::Len) {
upperIsLen =
&parentDataRef.GetLastSymbol() == &inquiry->base().GetLastSymbol();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/115970
More information about the flang-commits
mailing list