[all-commits] [llvm/llvm-project] fb2960: [compiler-rt] [profile] Add missing (void) to prot...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Oct 8 23:30:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb2960aad93f6c02e0ea8de0568c0aef8896eee8
      https://github.com/llvm/llvm-project/commit/fb2960aad93f6c02e0ea8de0568c0aef8896eee8
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfiling.h
    M compiler-rt/lib/profile/InstrProfilingInternal.h
    M compiler-rt/lib/profile/InstrProfilingPort.h
    M compiler-rt/lib/profile/InstrProfilingUtil.h

  Log Message:
  -----------
  [compiler-rt] [profile] Add missing (void) to prototypes, for C sources (#110642)

If built as part of the main llvm build, via
ENABLE_LLVM_PROJECTS=compiler-rt, the code gets built with more warning
options than if built standalone. Some of these trigger warnings like:

warning: a function declaration without a prototype is deprecated in all
versions of C [-Wstrict-prototypes]



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