[flang] Adapt to new directory for idioms.cc, idioms.h.
authorTim Keith <tkeith@nvidia.com>
Wed, 7 Feb 2018 23:19:54 +0000 (15:19 -0800)
committerTim Keith <tkeith@nvidia.com>
Wed, 7 Feb 2018 23:19:54 +0000 (15:19 -0800)
commit4a588883d2bcc9cd9b5e772b1b6da47eabddc533
treea59b2f3a1e990069e09ca8575a158f9b76e0d151
parent3bdae798f2d3c73d67d27590b37bca5dcdfb03f1
[flang] Adapt to new directory for idioms.cc, idioms.h.

Change idioms.h so that calls to die will work outside the parser
namespace.

Use unordered_map to cache IntConst values.

Original-commit: flang-compiler/f18@9d06c385d9f2d9598f8e882d3badc9544c3567b9
Reviewed-on: https://github.com/flang-compiler/f18/pull/3
flang/CMakeLists.txt
flang/attr.cc
flang/attr.h
flang/lib/parser/idioms.h
flang/type.cc
flang/type.h