[flang] Clean up AssignmentContext
authorTim Keith <tkeith@nvidia.com>
Sat, 4 Jan 2020 20:38:35 +0000 (12:38 -0800)
committerTim Keith <tkeith@nvidia.com>
Tue, 14 Jan 2020 21:02:55 +0000 (13:02 -0800)
commitce3d838bc6cdf14ef86ac0f4040c371687301553
tree2ab0d6dd08e7764b99147d5e2caf3c6de444ca0e
parent18e37a7adfa083f7823b8e7e837ba6419bafe87d
[flang] Clean up AssignmentContext

Eliminate `at_` and use location from `SemanticsContext` instead.

Add and use Analyze functions for `std::optional` and `std::list`.

Original-commit: flang-compiler/f18@e171029ccdb9efe874cad3a3d91adcfa200a6550
Reviewed-on: https://github.com/flang-compiler/f18/pull/928
Tree-same-pre-rewrite: false
flang/lib/semantics/assignment.cc
flang/lib/semantics/assignment.h