[PATCH] D78424: [flang] Added Semantic Checks for 2 Data constraints and fixed the semantic errors in 3 test cases

Anchu Rajendran S via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 02:06:51 PDT 2020


anchu-rajendran updated this revision to Diff 258679.
anchu-rajendran added a reviewer: kiranchandramohan.
anchu-rajendran added a comment.

- Abstracted the code to `IsAutomaticArray` Function.
- Added implementation to catch semantic bugs related to fields of derived type variables.
- Made the changes suggested.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78424/new/

https://reviews.llvm.org/D78424

Files:
  flang/include/flang/Semantics/tools.h
  flang/lib/Semantics/check-data.cpp
  flang/lib/Semantics/check-data.h
  flang/lib/Semantics/resolve-names-utils.cpp
  flang/test/Lower/pre-fir-tree02.f90
  flang/test/Semantics/block-data01.f90
  flang/test/Semantics/data01.f90
  flang/test/Semantics/data04.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78424.258679.patch
Type: text/x-patch
Size: 14698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200420/1520d4ba/attachment.bin>


More information about the llvm-commits mailing list