[all-commits] [llvm/llvm-project] 7330c9: [flang] Fix -Wunneeded-internal-declaration in Dir...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Sep 4 04:47:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7330c9b033f29bd92b99db6282c0f71de64122ab
      https://github.com/llvm/llvm-project/commit/7330c9b033f29bd92b99db6282c0f71de64122ab
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M flang/lib/Lower/DirectivesCommon.h

  Log Message:
  -----------
  [flang] Fix -Wunneeded-internal-declaration in DirectivesCommon.h (NFC)

/llvm-project/flang/lib/Lower/DirectivesCommon.h:910:1:
error: 'static' function 'peelOuterConvert' declared in header file should be declared 'static inline' [-Werror,-Wunneeded-internal-declaration]
peelOuterConvert(Fortran::semantics::SomeExpr &expr) {
^
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list