llvm-project/flang/test
Tim Keith 9500d48de3 [flang][NFC] Extract name resolution for OpenACC & OpenMP into new file
Move `ResolveAccParts` and `ResolveOmpParts` from resolve-names.cpp to
resolve-directives.{h,cpp}. Move the implementation in the classes
`DirectiveAttributeVisitor`, `AccAttributeVisitor`, and
`OmpAttributeVisitor` to resolve-directives.cpp as well.

To allow this to happen, move `EvaluateIntExpr` and introduce
`EvaluateInt64` to resolve-names-utils.h. The latter is also useful
elsewhere in resolve-names.cpp for converting an Expr to std::int64_t.

The other problem was that `ResolveDesignator` was called from the code
that was moved. At the moment it doesn't seem to be doing anything so I
removed the calls (and no tests failed). If it proves to be needed, we
can either resolve those designators in resolve-names.cpp or pass the
`ResolveDesignator` function in to the code that needs to call it.

Differential Revision: https://reviews.llvm.org/D84768
2020-07-28 16:38:36 -07:00
..
Driver [flang] Port all remaining regression tests to lit 2020-03-13 11:58:11 +00:00
Evaluate [flang] AMAX0, MIN1... rewrite to MAX/MIN: make result conversion explicit 2020-06-18 08:14:58 +02:00
Fir [flang] Upstream recent work on FIR to llvm-project. 2020-04-27 17:48:57 -07:00
Lower [flang][openacc] Skeleton for OpenACC construct lowering 2020-07-22 21:34:22 -04:00
NonGtestUnit [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
Parser [flang] Fix source line continuation in potential macro calls (bugzilla 46768) 2020-07-21 18:21:35 -07:00
Preprocessing [flang] Added CMakeLists changes, moved config and made test scripts compatible. 2020-03-13 13:54:24 +00:00
Semantics [flang][NFC] Extract name resolution for OpenACC & OpenMP into new file 2020-07-28 16:38:36 -07:00
Unit [flang] unit test support for out-of-tree and in-tree using google tests framework 2020-06-15 22:09:56 +05:30
CMakeLists.txt [flang] Run non-gtest unit tests with lit. 2020-07-24 14:49:39 +01:00
lit.cfg.py [flang][NFC] Simplify semantics test scripts 2020-05-11 11:49:25 -07:00
lit.site.cfg.py.in [flang] Fix bug in tests for standalone build 2020-05-05 11:08:23 -07:00