base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / li / libtapi / 0003-Match-designator-order-with-declaration-order.patch
blob2883af0a52289b98001045f749771b48566a74b1
1 From b69038edb2e0ace9128407ab3ee7bc1001ffd751 Mon Sep 17 00:00:00 2001
2 From: Randy Eckenrode <randy@largeandhighquality.com>
3 Date: Sun, 7 Apr 2024 19:23:24 -0400
4 Subject: [PATCH 3/3] Match designator order with declaration order
6 ---
7 lib/Core/Demangler.cpp | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
10 diff --git a/tapi/lib/Core/Demangler.cpp b/tapi/lib/Core/Demangler.cpp
11 index d85899a..f5c485a 100644
12 --- a/tapi/lib/Core/Demangler.cpp
13 +++ b/tapi/lib/Core/Demangler.cpp
14 @@ -30,9 +30,10 @@ bool Demangler::isItaniumEncoding(StringRef mangledName) {
15 return mangledName.startswith("_Z") || mangledName.startswith("___Z");
19 DemangledName Demangler::demangle(StringRef mangledName) {
20 DemangledName result{
21 - .str = mangledName.str(), .isSwift = false, .isItanium = false};
22 + .str = mangledName.str(), .isItanium = false, .isSwift = false};
23 char *demangled = nullptr;
25 if (isItaniumEncoding(mangledName)) {
26 --
27 2.42.0