llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.93k stars 11.53k forks source link

Remove macro which used to keep prototypes compatible with ANSI and K&R C #25160

Open EugeneZelenko opened 9 years ago

EugeneZelenko commented 9 years ago
Bugzilla Link 24786
Version unspecified
OS All

Extended Description

This modernize check will be useful for legacy C code originating when ANSI C compilers were not widely available.

Macro was used to enclose function parameters which replaces them with nothing for older compilers:

void Function PROTO((int Argument));

Name of macro should be specified in command line.

llvmbot commented 1 year ago

@llvm/issue-subscribers-c