[all-commits] [llvm/llvm-project] 7cb969: [OpenMP][Sema] Fix directive name modifier/if-clau...

David Pagan via All-commits all-commits at lists.llvm.org
Wed Jul 26 11:22:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cb9698374ac2eb4cb01dd1a866339e8aa409834
      https://github.com/llvm/llvm-project/commit/7cb9698374ac2eb4cb01dd1a866339e8aa409834
  Author: Dave Pagan <dave.pagan at amd.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/target_teams_generic_loop_if_codegen.cpp
    M clang/test/OpenMP/target_teams_generic_loop_messages.cpp

  Log Message:
  -----------
  [OpenMP][Sema] Fix directive name modifier/if-clause/'target teams loop'

The if-clause on 'target teams loop' should only accept "target" as a
directive name modifier. Any other directive name should generate an
error.

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




More information about the All-commits mailing list