[all-commits] [llvm/llvm-project] 6bcafc: [flang][Runtime] Use proper prototypes in Fortran_...

Diana via All-commits all-commits at lists.llvm.org
Wed May 18 01:04:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bcafce103a4d759fd9acdc472bb2c8d0b2c859c
      https://github.com/llvm/llvm-project/commit/6bcafce103a4d759fd9acdc472bb2c8d0b2c859c
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M flang/include/flang/Runtime/main.h
    M flang/runtime/FortranMain/Fortran_main.c

  Log Message:
  -----------
  [flang][Runtime] Use proper prototypes in Fortran_main. NFCI

This is compiled as C code, so it's a good idea to be explicit about the
prototype. Clang complains about this when -Wstrict-prototypes is used.

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




More information about the All-commits mailing list