[all-commits] [llvm/llvm-project] 5bb7e8: Fix bad mangling of <data-member-prefix> for a clo...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed May 12 13:13:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bb7e81c64bd29edd1c9ebadd4e4717919def0bf
      https://github.com/llvm/llvm-project/commit/5bb7e81c64bd29edd1c9ebadd4e4717919def0bf
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/LangOptions.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGenCXX/clang-abi-compat.cpp
    M clang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp
    M clang/test/CodeGenCXX/mangle-lambda-explicit-template-params.cpp

  Log Message:
  -----------
  Fix bad mangling of <data-member-prefix> for a closure in the initializer of a variable at global namespace scope.

This implements the direction proposed in
https://github.com/itanium-cxx-abi/cxx-abi/pull/126.

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




More information about the All-commits mailing list