[all-commits] [llvm/llvm-project] 082f32: [clang] Itanium mangler constructors

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Wed Feb 16 04:31:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 082f328899be9ed8a38b04a4e52be936f4875495
      https://github.com/llvm/llvm-project/commit/082f328899be9ed8a38b04a4e52be936f4875495
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M clang/lib/AST/ItaniumMangle.cpp

  Log Message:
  -----------
  [clang] Itanium mangler constructors

The Itanium mangler constructors use both NSDMI and explicit member
construction for default values.  This is confusing.

*) Use NSDMIs wherever possible

*) Use forwarding ctor for the nesting case with an
 llvm::raw_null_ostream (and explicitly set NullOut flag in that ctor).

*) Copy the ModuleSubstitutions.  This is a bug with no effect in the
 current mangling, but not in the newer mangling.

Reviewed By: ChuanqiXu

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




More information about the All-commits mailing list