[PATCH] D118249: [demangler] remove StdQualifiedName

Nathan Sidwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 07:11:37 PST 2022


urnathan created this revision.
urnathan added reviewers: ChuanqiXu, bruno, aaron.ballman.
Herald added subscribers: dexonsmith, hiraditya.
urnathan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The StdQualifiedName node class is used for names exactly in the std namespace.  It is not used for nested names that descend further --
those use a NestedName with NameType("std") as the scope.  We can use the same structure for those exactly in std too, and reduce code size a bit.

This also makes a further simplification possible.


https://reviews.llvm.org/D118249

Files:
  libcxxabi/src/demangle/ItaniumDemangle.h
  llvm/include/llvm/Demangle/ItaniumDemangle.h
  llvm/lib/Demangle/ItaniumDemangle.cpp
  llvm/lib/Support/ItaniumManglingCanonicalizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118249.403259.patch
Type: text/x-patch
Size: 4453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/5f249c2a/attachment.bin>


More information about the llvm-commits mailing list