[all-commits] [llvm/llvm-project] fb2cc9: [Analysis] 'static' function 'shortenFileName' sho...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Sun Jan 14 05:11:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb2cc9b9fc5ae5a544e3009ae153f5ae83c5a89c
      https://github.com/llvm/llvm-project/commit/fb2cc9b9fc5ae5a544e3009ae153f5ae83c5a89c
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-01-14 (Sun, 14 Jan 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/DOTGraphTraitsPass.h

  Log Message:
  -----------
  [Analysis] 'static' function 'shortenFileName' should be declared 'static inline' (NFC)

llvm-project/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h:89:13:
 error: 'static' function 'shortenFileName' declared in header file should be declared 'static inline' [-Werror,-Wunneeded-internal-declaration]
  static void shortenFileName(std::string &FN, unsigned char len = 250) {




More information about the All-commits mailing list