[all-commits] [llvm/llvm-project] 1df8fa: [Flang][OpenMP][NFC][2/2] Reorder OmpStructureChec...

sameeranjoshi via All-commits all-commits at lists.llvm.org
Sat Nov 21 09:13:00 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1df8fa78e652d112c83d21096e5f2750f70f5b66
      https://github.com/llvm/llvm-project/commit/1df8fa78e652d112c83d21096e5f2750f70f5b66
  Author: sameeran joshi <sameeranjayant.joshi at amd.com>
  Date:   2020-11-21 (Sat, 21 Nov 2020)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Semantics/omp-clause-validity01.f90
    M flang/test/Semantics/omp-combined-constructs.f90
    M flang/test/Semantics/omp-device-constructs.f90
    M llvm/include/llvm/Frontend/OpenMP/OMP.td

  Log Message:
  -----------
  [Flang][OpenMP][NFC][2/2] Reorder OmpStructureChecker and simplify it.

`OmpStructureChecker` has too much boilerplate code in source file.

This patch:
  1. Use helpers from `check-directive-structure.h` and reduces the boilerplate.
  2. Use TableGen infrastructure as much as possible.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list