[flang] [openmp] Add Fortran specific semantic check 4 for OpenMP Allocate directive.
This patch adds the 4th Fortran specific semantic check for the OpenMP allocate directive: "If a list item has the SAVE attribute, is a common block name, or is declared in the scope of a module, then only predefined memory allocator parameters can be used in the allocator clause". Code in this patch was based on code from https://reviews.llvm.org/D93549/new/. Differential Revision: https://reviews.llvm.org/D102400
Loading
Please sign in to comment