llvm/flang/unittests
Kiran Chandramohan f97731c765 [Flang][Unit Test] Move the declaration of kindMap to the class
kindMap variable is declared in the Setup function but passed as
a reference to the firBuilder class. The firBuilder is declared in
the class and hence its lifetime exceeds that of kindMap. This can
lead to undefined behaviour. Move the kindMap variable into the class
to avoid this.

This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D115631
2021-12-13 16:12:01 +00:00
..
Decimal
Evaluate [flang] Remove incorrect unit test 2021-10-04 18:27:14 -07:00
Frontend
Optimizer [Flang][Unit Test] Move the declaration of kindMap to the class 2021-12-13 16:12:01 +00:00
Runtime [flang] Simplify RaggedArrayHeader and make it plain C struct 2021-12-09 22:28:06 +01:00
CMakeLists.txt [fir] Split FIROptimizer lib into several smaller libraries 2021-10-05 14:02:32 +02:00