[all-commits] [llvm/llvm-project] 5491fd: [flang] Add semantic check for named constant as f...

PeixinQiao via All-commits all-commits at lists.llvm.org
Tue May 31 23:39:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5491fdf559ec68039a218bab6bf41901611554f0
      https://github.com/llvm/llvm-project/commit/5491fdf559ec68039a218bab6bf41901611554f0
  Author: Peixin-Qiao <qiaopeixin at huawei.com>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/declarations01.f90

  Log Message:
  -----------
  [flang] Add semantic check for named constant as function result

Similar to procedure argument, the function result cannot be one
named constant.

Reviewed By: klausler

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




More information about the All-commits mailing list