================
@@ -412,10 +412,12 @@ NarrowingKind 
StandardConversionSequence::getNarrowingKind(
         // And back.
         llvm::APSInt ConvertedValue = *IntConstantValue;
         bool ignored;
-        Result.convertToInteger(ConvertedValue,
-                                llvm::APFloat::rmTowardZero, &ignored);
-        // If the resulting value is different, this was a narrowing 
conversion.
-        if (*IntConstantValue != ConvertedValue) {
+        llvm::APFloat::opStatus fs = Result.convertToInteger(
----------------
zwuis wrote:

Use camel case. See 
<https://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly>.

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

Reply via email to