[clang] [CIR] [Upstream local initialization for ArrayType (PR #132974)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 25 17:59:12 PDT 2025
================
@@ -246,8 +246,8 @@ OpFoldResult cir::ConstantOp::fold(FoldAdaptor /*adaptor*/) {
//===----------------------------------------------------------------------===//
LogicalResult cir::CastOp::verify() {
- auto resType = getResult().getType();
- auto srcType = getSrc().getType();
+ const auto resType = getResult().getType();
----------------
andykaylor wrote:
No auto on these two lines
https://github.com/llvm/llvm-project/pull/132974
More information about the cfe-commits
mailing list