[all-commits] [llvm/llvm-project] 0d67c8: [OpenMP] Fix declare simd use on in-class member t...

Mike Rice via All-commits all-commits at lists.llvm.org
Fri May 13 08:28:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d67c8a51d61cb0fac91f265a424767f072c7d5c
      https://github.com/llvm/llvm-project/commit/0d67c8a51d61cb0fac91f265a424767f072c7d5c
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/test/OpenMP/declare_simd_codegen.cpp
    M clang/test/OpenMP/declare_simd_messages.cpp

  Log Message:
  -----------
  [OpenMP] Fix declare simd use on in-class member template function

Return the Decl when parsing the template member declaration so the
'omp declare simd' pragma can be applied to it. Previously a nullptr
was returned causing an error applying the pragma.

Fixes #52700.

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




More information about the All-commits mailing list