[libcxx-commits] [libcxxabi] r371274 - Synchronize LLVM's copy of libc++abi's demangler with the libc++abi

Richard Smith via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 6 17:11:53 PDT 2019


Author: rsmith
Date: Fri Sep  6 17:11:53 2019
New Revision: 371274

URL: http://llvm.org/viewvc/llvm-project?rev=371274&view=rev
Log:
Synchronize LLVM's copy of libc++abi's demangler with the libc++abi
version after r371273.

Also fix a minor issue in r371273 that only surfaced after template
instantiation from LLVM's use of the demangler.

Modified:
    libcxxabi/trunk/src/demangle/ItaniumDemangle.h

Modified: libcxxabi/trunk/src/demangle/ItaniumDemangle.h
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/demangle/ItaniumDemangle.h?rev=371274&r1=371273&r2=371274&view=diff
==============================================================================
--- libcxxabi/trunk/src/demangle/ItaniumDemangle.h (original)
+++ libcxxabi/trunk/src/demangle/ItaniumDemangle.h Fri Sep  6 17:11:53 2019
@@ -2435,7 +2435,8 @@ template <typename Derived, typename All
     ParsingLambdaParamsAtLevel = (size_t)-1;
     TryToParseTemplateArgs = true;
     PermitForwardTemplateReferences = false;
-    NumSyntheticTemplateParameters = {};
+    for (int I = 0; I != 3; ++I)
+      NumSyntheticTemplateParameters[I] = 0;
     ASTAllocator.reset();
   }
 




More information about the libcxx-commits mailing list