[all-commits] [llvm/llvm-project] ec2752: [OPENMP50] Fix PR45469: Consider variable-category...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Apr 9 06:53:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ec2752730d463c92d522dd25287b4e40a1c50597
      https://github.com/llvm/llvm-project/commit/ec2752730d463c92d522dd25287b4e40a1c50597
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

  Changed paths:
    M clang/lib/AST/OpenMPClause.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/target_ast_print.cpp
    M clang/test/OpenMP/target_defaultmap_codegen.cpp
    M clang/test/OpenMP/target_defaultmap_messages.cpp
    M clang/test/OpenMP/target_parallel_defaultmap_messages.cpp
    M clang/test/OpenMP/target_parallel_for_defaultmap_messages.cpp
    M clang/test/OpenMP/target_parallel_for_simd_defaultmap_messages.cpp
    M clang/test/OpenMP/target_simd_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_defaultmap_messages.cpp

  Log Message:
  -----------
  [OPENMP50] Fix PR45469: Consider variable-category of defaultmap clause as optional.

Summary:
According to the standard, variable-category is the optional part of the
defaultmap clause while the compiler always requires it. Turned it into
optional part.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, cfe-commits, caomhin

Tags: #clang

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




More information about the All-commits mailing list