[all-commits] [llvm/llvm-project] b26424: [OpenMP] Introduce the `disable_selector_propagati...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2642456abc6f11ef0a948332ab32c335aba1bcf
      https://github.com/llvm/llvm-project/commit/b2642456abc6f11ef0a948332ab32c335aba1bcf
  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
    M clang/test/OpenMP/begin_declare_variant_nested_propagation.c
    M clang/test/OpenMP/declare_variant_messages.c
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def

  Log Message:
  -----------
  [OpenMP] Introduce the `disable_selector_propagation` variant selector trait

Nested `omp [begin|end] declare variant` inherit the selectors from
surrounding `omp (begin|end) declare variant` constructs. To stop such
propagation the user can add the `disable_selector_propagation` to the
`extension` set in the `implementation` selector.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list