[all-commits] [llvm/llvm-project] 2579b4: [clang-cl] [AST] Fix MS 1920+ placeholder return t...

Max Winkler via All-commits all-commits at lists.llvm.org
Sun Aug 25 20:48:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2579b411a13799534c8b8a22246134b88ba7785d
      https://github.com/llvm/llvm-project/commit/2579b411a13799534c8b8a22246134b88ba7785d
  Author: Max Winkler <max.enrico.winkler at gmail.com>
  Date:   2024-08-25 (Sun, 25 Aug 2024)

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

  Log Message:
  -----------
  [clang-cl] [AST] Fix MS 1920+ placeholder return type mangling for lambdas (#105999)

Fixes https://github.com/llvm/llvm-project/pull/104722.

Missed handling `decltype(auto)` trailing return types for lambdas.
This was a mistake and regression on my part with my PR,
https://github.com/llvm/llvm-project/pull/104722.

Added some missing unit tests to test for the various placeholder
trailing return types in lambdas.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list