[all-commits] [llvm/llvm-project] 9a805b: [flang][NFC] Fix deprecation warning (#147932)
Tom Eccles via All-commits
all-commits at lists.llvm.org
Fri Jul 11 02:37:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a805ba16993e3cea7a341a2626ee260d92399ca
https://github.com/llvm/llvm-project/commit/9a805ba16993e3cea7a341a2626ee260d92399ca
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-07-11 (Fri, 11 Jul 2025)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
Log Message:
-----------
[flang][NFC] Fix deprecation warning (#147932)
I started getting deprecation warnings from operations constructors
which seem to be doing implicit construction of mlir::ValueRange from a
std::nullopt by relying on implicit conversion from std::nullopt into
llvm::ArrayRef. ArrayRef{std::nullopt} is what has been deprecated.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list