aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-10-27 14:16:43 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-10-27 14:16:43 -0700
commite1ca6946bee3acf9cbdf6e5ea30fa2d55304365d (patch)
tree22a4f47cd2625e52d49437f1cd9f1f6d64d53dc2 /src/zig_clang.cpp
parent7c2bde1f07f5e672bb2320c517568dab9edab652 (diff)
downloadzig-e1ca6946bee3acf9cbdf6e5ea30fa2d55304365d.tar.gz
zig-e1ca6946bee3acf9cbdf6e5ea30fa2d55304365d.zip
rename ZigClangFloatingLiteral_getValueAsApproximateDouble
Diffstat (limited to 'src/zig_clang.cpp')
-rw-r--r--src/zig_clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zig_clang.cpp b/src/zig_clang.cpp
index c2eb4f1524..1fa5bbe078 100644
--- a/src/zig_clang.cpp
+++ b/src/zig_clang.cpp
@@ -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();
}