[PATCH] D103833: [demangler] Fix demangling of 'half'
Stuart Brady via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 06:23:22 PDT 2021
stuart updated this revision to Diff 351153.
stuart added a comment.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++abi.
Add a/ and b/ prefixes to diff.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103833/new/
https://reviews.llvm.org/D103833
Files:
libcxxabi/src/demangle/ItaniumDemangle.h
llvm/include/llvm/Demangle/ItaniumDemangle.h
Index: llvm/include/llvm/Demangle/ItaniumDemangle.h
===================================================================
--- llvm/include/llvm/Demangle/ItaniumDemangle.h
+++ llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -3883,7 +3883,7 @@
// ::= Dh # IEEE 754r half-precision floating point (16 bits)
case 'h':
First += 2;
- return make<NameType>("decimal16");
+ return make<NameType>("half");
// ::= Di # char32_t
case 'i':
First += 2;
Index: libcxxabi/src/demangle/ItaniumDemangle.h
===================================================================
--- libcxxabi/src/demangle/ItaniumDemangle.h
+++ libcxxabi/src/demangle/ItaniumDemangle.h
@@ -3883,7 +3883,7 @@
// ::= Dh # IEEE 754r half-precision floating point (16 bits)
case 'h':
First += 2;
- return make<NameType>("decimal16");
+ return make<NameType>("half");
// ::= Di # char32_t
case 'i':
First += 2;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103833.351153.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/2fe52416/attachment.bin>
More information about the llvm-commits
mailing list