[flang] Add -fdebug-dump-parse-tree and -fdebug-resolve-names
authorTim Keith <tkeith@nvidia.com>
Thu, 12 Apr 2018 21:20:26 +0000 (14:20 -0700)
committerTim Keith <tkeith@nvidia.com>
Fri, 13 Apr 2018 03:01:40 +0000 (20:01 -0700)
commitc9d838e8a70662a970c283d21f98fd4b6ab66685
tree5a42d27324461d5a0c91fc5a4052a95d8a320238
parent632855d02a164927748091c37ba6efde4c92b688
[flang] Add -fdebug-dump-parse-tree and -fdebug-resolve-names

"f18 -fdebug-resolve-names -fparse-only ..." is equivalent to what
test-type used to do, so the test-type executable can be eliminated.

-fdebug-dump-parse-tree does the parse-tree dumping that test-sema
does, but test-sema does more so I have left it alone.

Original-commit: flang-compiler/f18@8b3816528e6463acd18bbf6ed29c40869b15ea3a
Reviewed-on: https://github.com/flang-compiler/f18/pull/55
flang/lib/semantics/ParseTreeDump.h
flang/lib/semantics/resolve-names.cc
flang/lib/semantics/resolve-names.h [new file with mode: 0644]
flang/tools/f18/CMakeLists.txt
flang/tools/f18/f18.cc
flang/tools/f18/test-type.cc [deleted file]