[all-commits] [llvm/llvm-project] ad9e98: [OpenMP] Do not propagate match extensions to nest...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Mar 11 21:31:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad9e98b8efa0138559eb640023695dab54967a8d
      https://github.com/llvm/llvm-project/commit/ad9e98b8efa0138559eb640023695dab54967a8d
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/Parse/ParseOpenMP.cpp
    A clang/test/OpenMP/begin_declare_variant_nested_propagation.c
    M llvm/lib/Frontend/OpenMP/OMPContext.cpp

  Log Message:
  -----------
  [OpenMP] Do not propagate match extensions to nested contexts

If we have nested declare variant context, it doesn't make sense to
inherit the match extension from the parent. Instead, just skip it.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list