[all-commits] [llvm/llvm-project] af11f4: [demangle] NFC: get rid of NodeOrString

Erik Pilkington via All-commits all-commits at lists.llvm.org
Mon Nov 4 12:17:42 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: af11f417fc7d2390da4a883c05c098f23891862e
      https://github.com/llvm/llvm-project/commit/af11f417fc7d2390da4a883c05c098f23891862e
  Author: Erik Pilkington <erik.pilkington at gmail.com>
  Date:   2019-11-04 (Mon, 04 Nov 2019)

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

  Log Message:
  -----------
  [demangle] NFC: get rid of NodeOrString

This class was a bit overengineered, and was triggering some PVS warnings.
Instead, put strings into a NameType and let clients unconditionally treat it
as a Node.




More information about the All-commits mailing list