[flang] Add IsIsoCType()
authorTim Keith <tkeith@nvidia.com>
Sat, 22 Jun 2019 00:32:11 +0000 (17:32 -0700)
committerTim Keith <tkeith@nvidia.com>
Sat, 22 Jun 2019 00:32:11 +0000 (17:32 -0700)
commit377914d8b3116f6af122b9d8fc04f24247b0ac11
treed9d1f3156e2cb33669a180aa939003782a312088
parent83fa5b053254aeee645ac7e4aedc49b437f932e9
[flang] Add IsIsoCType()

It identifies the types `C_PTR` and `C_FUNPTR` from predefined
module `ISO_C_BINDING`.

Original-commit: flang-compiler/f18@fcbef2e18b1b035429cb5b9e5d765bc89c2412ca
Reviewed-on: https://github.com/flang-compiler/f18/pull/521
Tree-same-pre-rewrite: false
flang/lib/semantics/check-allocate.cc
flang/lib/semantics/tools.cc
flang/lib/semantics/tools.h