[all-commits] [llvm/llvm-project] a88cee: [flang] Semantics for ISO_C_BINDING's C_LOC()

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 8 15:58:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a88cee1fd06dd633fc6551d242c55f4235d4862d
      https://github.com/llvm/llvm-project/commit/a88cee1fd06dd633fc6551d242c55f4235d4862d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M flang/include/flang/Evaluate/type.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/module/__fortran_builtins.f90
    M flang/test/Lower/HLFIR/intrinsic-module-procedures.f90
    A flang/test/Semantics/c_loc01.f90

  Log Message:
  -----------
  [flang] Semantics for ISO_C_BINDING's C_LOC()

Make __builtin_c_loc() into an intrinsic function and verify the
special semantic requirements on its actual arguments.

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




More information about the All-commits mailing list