rename ZigClangFloatingLiteral_getValueAsApproximateDouble

This commit is contained in:
Andrew Kelley
2020-10-27 14:16:43 -07:00
parent 7c2bde1f07
commit e1ca6946be
3 changed files with 4 additions and 4 deletions

View File

@@ -2494,7 +2494,7 @@ unsigned ZigClangAPFloat_convertToHexString(const ZigClangAPFloat *self, char *D
return casted->convertToHexString(DST, HexDigits, UpperCase, (llvm::APFloat::roundingMode)RM);
}
double ZigClangAPFloat_getValueAsApproximateDouble(const ZigClangFloatingLiteral *self) {
double ZigClangFloatingLiteral_getValueAsApproximateDouble(const ZigClangFloatingLiteral *self) {
auto casted = reinterpret_cast<const clang::FloatingLiteral *>(self);
return casted->getValueAsApproximateDouble();
}