[all-commits] [llvm/llvm-project] bc150a: [demangler] No need to space adjacent template clo...

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Mon May 9 06:15:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc150a07f1a14a7923a29499b568d799f7214912
      https://github.com/llvm/llvm-project/commit/bc150a07f1a14a7923a29499b568d799f7214912
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M libcxxabi/test/test_demangle.pass.cpp
    M llvm/include/llvm/Demangle/ItaniumDemangle.h
    M llvm/test/tools/llvm-objdump/MachO/symbolized-disassembly.test
    M llvm/unittests/Demangle/PartialDemangleTest.cpp

  Log Message:
  -----------
  [demangler] No need to space adjacent template closings

With the demangler parenthesizing 'a >> b' inside template parameters,
because C++11 parsing of >> there, we don't really need to add spaces
between adjacent template arg closing '>' chars.  In 2022, that just
looks odd.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D123134




More information about the All-commits mailing list