[all-commits] [llvm/llvm-project] 9cd362: [tools] Fix -Wstrict-prototypes in llvm-c-test.h (...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Tue Jun 18 01:31:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cd3622a6ecd4485d89bb5b074e029fbe646e22d
      https://github.com/llvm/llvm-project/commit/9cd3622a6ecd4485d89bb5b074e029fbe646e22d
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-c-test/debuginfo.c
    M llvm/tools/llvm-c-test/llvm-c-test.h

  Log Message:
  -----------
  [tools] Fix -Wstrict-prototypes in llvm-c-test.h (NFC)

/llvm-project/llvm/tools/llvm-c-test/llvm-c-test.h:39:24:
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
int llvm_test_dibuilder();
                       ^
                        void
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