llvm-project/flang/lib
Sameeran joshi 855a32d9e5 [Flang][OpenMP][NFC][1/2] Reorder OmpStructureChecker and simplify it.
`OmpStructureChecker` has too much boilerplate code in source file.
It was not easy to figure out the seperation of clauses inside 'OmpClause' and
the ones which had a seperate node in parse-tree.h.

This patch:
1. Removes the boilerplate by defining a few macros.
2. Makes seperation between constructs, directives and clauses(sub classes are seperated).
3. Macros could have been shared between OMP and OACC, template specilizations might have
   been costly hence used macros.
Follows the same strategy used for `AccStructureChecker`.

Next patch in series to simplify OmpStructureChecker would try to simplify
boilerplates inside the functions and either create abstractions or use if
something is available inside check-directive-structure.h

Reviewed By: kiranchandramohan, clementval

Differential Revision: https://reviews.llvm.org/D90324
2020-11-03 11:50:32 +05:30
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Readability improvement in binary->decimal conversion 2020-10-01 15:49:27 -07:00
Evaluate [flang] Fix actual argument character length and length error reporting 2020-11-02 13:39:15 -08:00
Frontend [Flang][Driver] Add PrintPreprocessedInput FrontendAction (`flang-new -E`) 2020-11-02 14:03:35 +00:00
FrontendTool [Flang][Driver] Add PrintPreprocessedInput FrontendAction (`flang-new -E`) 2020-11-02 14:03:35 +00:00
Lower [flang][OpenMP] Upstream lowering of OpenMP `Flush` construct 2020-10-23 21:09:50 +05:30
Optimizer Make namespace handling uniform across dialect backends. 2020-09-14 20:33:31 +00:00
Parser [flang] Detect and rewrite ambiguous READ(CVAR)[,item-list] 2020-10-30 15:47:28 -07:00
Semantics [Flang][OpenMP][NFC][1/2] Reorder OmpStructureChecker and simplify it. 2020-11-03 11:50:32 +05:30
CMakeLists.txt [flang][driver] Add the new flang compiler and frontend drivers 2020-09-11 10:55:54 +01:00