[all-commits] [llvm/llvm-project] c05f16: [clang][cuda/hip] Allow `__noinline__` lambdas

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Fri Nov 4 00:33:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c05f1639f7f4a8e81ad83bba99bae95553c6064e
      https://github.com/llvm/llvm-project/commit/c05f1639f7f4a8e81ad83bba99bae95553c6064e
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseExprCXX.cpp
    A clang/test/CodeGenCUDA/lambda-noinline.cu
    M clang/test/Parser/lambda-attr.cu

  Log Message:
  -----------
  [clang][cuda/hip] Allow `__noinline__`  lambdas

D124866 seem to have had an unintended side effect: __noinline__ on lambdas was no longer accepted.

This fixes the regression and adds a test case for it.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list