[all-commits] [llvm/llvm-project] a2ca6b: [Flang][OpenMP] Add semantic check for OpenMP Priv...

praveen-g-ctt via All-commits all-commits at lists.llvm.org
Fri Dec 25 01:21:46 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2ca6bbda6160c1b474fffd6204bcac9456c7eb1
      https://github.com/llvm/llvm-project/commit/a2ca6bbda6160c1b474fffd6204bcac9456c7eb1
  Author: Praveen <praveen at compilertree.com>
  Date:   2020-12-25 (Fri, 25 Dec 2020)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/omp-private03.f90

  Log Message:
  -----------
  [Flang][OpenMP] Add semantic check for OpenMP Private, Firstprivate and Lastprivate clauses.

OpenMP 4.5 - Variables that appear in expressions for statement function definitions
             may not appear in OpenMP Private, Firstprivate or Lastprivate clauses.

Test case : omp-private03.f90

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list