================
@@ -347,6 +355,8 @@ class ComplexExprEmitter
 #define HANDLEBINOP(OP)                                                        
\
   ComplexPairTy VisitBin##OP(const BinaryOperator *E) {                        
\
     QualType promotionTy = getPromotionType(                                   
\
+        (E->hasStoredFPFeatures() ? E->getStoredFPFeatures()                   
\
----------------
AaronBallman wrote:

This pattern comes up often enough, I wonder if we should add 
`getStoredFPFeaturesOrDefault()` that does this dance for us?

https://github.com/llvm/llvm-project/pull/98520
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to