[flang] Remove OwningPointer and ForwardReference
authorpeter klausler <pklausler@nvidia.com>
Mon, 11 Mar 2019 22:39:11 +0000 (15:39 -0700)
committerpeter klausler <pklausler@nvidia.com>
Mon, 6 May 2019 14:51:07 +0000 (07:51 -0700)
commit5a18e79d5a632874e01458c5b38c0c1e21cc1f27
treecd7d9f38aaac4fcfc8f697ae7c2361d4b2179487
parentd427b5884328e635118f7b3412cb73edc2e55664
[flang] Remove OwningPointer and ForwardReference

Use std::unique_ptr<> with custom deleter for forward-referenced owned pointer.

Move CopyableIndirection into common, add documentation, clean up.

Remove OwningPointer and ForwardReference

Use std::unique_ptr<> with custom deleter for forward-referenced owned pointer.

Use CopyableIndirection

clean up from merge after split

Complete characterization

fold conversions of arrays

Clean up subscripts to constant arrays

Elemental unary operations complete

Support assumed type TYPE(*) in actual arguments

clean up some TODOs

recognize TYPE(*) arguments to intrinsics

Complete folding of array operations

Finish elementwise array folding, add test, debug

characterize intrinsics, fix some bugs

Clean up build

Type compatibility and shape conformance checks on pointer assignments

Original-commit: flang-compiler/f18@99d734c6213c7188ad7b031258d0163826d562ec
Reviewed-on: https://github.com/flang-compiler/f18/pull/442
Tree-same-pre-rewrite: false
22 files changed:
flang/lib/evaluate/characteristics.h
flang/lib/evaluate/decimal.h
flang/lib/evaluate/type.h
flang/lib/semantics/assignment.cc
flang/lib/semantics/assignment.h
flang/lib/semantics/expression.cc
flang/lib/semantics/expression.h
flang/lib/semantics/resolve-names.cc
flang/lib/semantics/symbol.cc
flang/lib/semantics/symbol.h
flang/test/evaluate/folding01.f90
flang/test/evaluate/folding02.f90
flang/test/evaluate/test_folding.sh
flang/test/semantics/CMakeLists.txt
flang/test/semantics/expr-errors01.f90 [new file with mode: 0644]
flang/test/semantics/null01.f90 [new file with mode: 0644]
flang/test/semantics/procinterface01.f90
flang/test/semantics/resolve43.f90
flang/test/semantics/structconst01.f90
flang/test/semantics/structconst02.f90
flang/test/semantics/structconst03.f90
flang/test/semantics/structconst04.f90