[all-commits] [llvm/llvm-project] cfc12a: [flang] Correct the interpretation of BIND(C, NAME='')

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Apr 14 11:33:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfc12a2120fc84fd240a8a8c426e18f695bccde0
      https://github.com/llvm/llvm-project/commit/cfc12a2120fc84fd240a8a8c426e18f695bccde0
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp

  Log Message:
  -----------
  [flang] Correct the interpretation of BIND(C,NAME='')

An empty NAME= should mean that there is no C binding, not the
binding that would result from BIND(C) without a NAME=.
See 18.10.2p2.

Differential Revision: https://reviews.llvm.org/D100494




More information about the All-commits mailing list