[flang] Use unique_ptr for operands. Refactor comparisons.
authorpeter klausler <pklausler@nvidia.com>
Thu, 21 Jun 2018 18:03:00 +0000 (11:03 -0700)
committerpeter klausler <pklausler@nvidia.com>
Fri, 22 Jun 2018 21:58:05 +0000 (14:58 -0700)
commit508ed8dd76bec18f8b2da8155088a645bae54354
treef39281d2082edc451d591f4ed1fb449bcb5072f3
parenta88a55b500632b356acccb673a4a156cbd47b18b
[flang] Use unique_ptr for operands.  Refactor comparisons.

Original-commit: flang-compiler/f18@92e154e76eeac6ea91c62cdc0081fb35258f8c78
Reviewed-on: https://github.com/flang-compiler/f18/pull/111
Tree-same-pre-rewrite: false
flang/lib/evaluate/expression.cc
flang/lib/evaluate/expression.h
flang/test/evaluate/expression.cc