[all-commits] [llvm/llvm-project] e408cb: [AST] Mangle LambdaContextDecl for top level decl

ZequanWu via All-commits all-commits at lists.llvm.org
Wed Jun 10 09:46:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e408cba84f8a9471bb26deca8d9aac049a924847
      https://github.com/llvm/llvm-project/commit/e408cba84f8a9471bb26deca8d9aac049a924847
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/test/CodeGenCXX/mangle-ms-cxx17.cpp

  Log Message:
  -----------
  [AST] Mangle LambdaContextDecl for top level decl

Summary:

Bug filed here: https://bugs.llvm.org/show_bug.cgi?id=45213

To resolve it, we let the checks for mangling LambdaContextDecl to be analogous to ItaniumMangle strategy: https://github.com/llvm/llvm-project/blob/master/clang/lib/AST/ItaniumMangle.cpp#L1829

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




More information about the All-commits mailing list