[all-commits] [llvm/llvm-project] c204ce: [demangler] Update node match calls

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Tue Mar 29 05:32:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c204cee642ee794901d2e8a9819b52ac12f92bc9
      https://github.com/llvm/llvm-project/commit/c204cee642ee794901d2e8a9819b52ac12f92bc9
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M libcxxabi/src/cxa_demangle.cpp
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M llvm/include/llvm/Demangle/ItaniumDemangle.h

  Log Message:
  -----------
  [demangler] Update node match calls

Each demangler node's match function needs to call the provided
functor with constructor arguments.  That was omitted from D120905.
This adds the new Precedence argument where necessary (and a missing
boolean for a module node).

The two visitors need updating with a printer for that type, and this
adds a stub to cxa_demangle's version.  blaikie added one to llvm's.
I'll fill out those printers in a followup, rather than wait, so that
downstream consumers are unbroken.




More information about the All-commits mailing list