================ @@ -289,7 +289,7 @@ class ComplexExprEmitter const BinOpInfo &Op); QualType GetHigherPrecisionFPType(QualType ElementType) { - const auto *CurrentBT = dyn_cast<BuiltinType>(ElementType); + const auto *CurrentBT = cast<BuiltinType>(ElementType); ---------------- tahonermann wrote:
This looks fine and is consistent with other type assumptions elsewhere in the same source file. https://github.com/llvm/llvm-project/pull/86759 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits