[all-commits] [llvm/llvm-project] 79c00d: [NPM] Make AddDiscriminators pass required

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Tue Sep 7 17:02:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79c00d3f544078f6510b26971699a8c776021a72
      https://github.com/llvm/llvm-project/commit/79c00d3f544078f6510b26971699a8c776021a72
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/AddDiscriminators.h
    M llvm/test/Transforms/AddDiscriminators/basic.ll

  Log Message:
  -----------
  [NPM] Make AddDiscriminators pass required

This is to make sure the pass is not skipped at O0 where optnone is
applied to functions by default.


  Commit: 61d1cce2f83571c00f76144d42a2dea2cb3ab1ca
      https://github.com/llvm/llvm-project/commit/61d1cce2f83571c00f76144d42a2dea2cb3ab1ca
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaCXX/cxx1z-lambda-star-this.cpp
    A clang/test/SemaCXX/cxx20-lambda-decltype-this.cpp

  Log Message:
  -----------
  PR45881: Properly use CXXThisOverride for templated lambda

- `this` used in lambda expression parameter declarations needs no capture.
- Set up CXXThisOverride for default template arguments of a lambda.

A similar fix to this is c3d2ebb60f604.

Reviewed By: aaron.ballman

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


Compare: https://github.com/llvm/llvm-project/compare/6cdca906c79f...61d1cce2f835


More information about the All-commits mailing list