[flang-commits] [flang] [flang] Implemented a warning about contiguity of compile time constant values (PR #161084)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Mon Sep 29 13:59:09 PDT 2025
================
@@ -799,12 +799,20 @@ Expr<Type<TypeCategory::Logical, KIND>> FoldIntrinsicFunction(
}
} else if (name == "is_contiguous") {
if (args.at(0)) {
+ auto warnContiguous = [&]() {
----------------
klausler wrote:
Please always use braced initialization in everything before lowering or in the runtime.
https://github.com/llvm/llvm-project/pull/161084
More information about the flang-commits
mailing list