K&R-style variadic functions
Jacob Carlborg
doob at me.com
Tue Jul 17 12:42:09 PDT 2012
On 2012-07-17 17:13, Regan Heath wrote:
> Is Clang open source, can we see the code for that function? Perhaps
> it's a bug.. ANSI C may have made () without "void" obsolete, but no
> compiler I've ever used has actually enforced that - or perhaps C++ made
> old-style function definition/declarations obsolete and allowed () back
> again.
Sure:
https://llvm.org/svn/llvm-project/cfe/trunk/tools/libclang/CXType.cpp
Just search for clang_isFunctionTypeVariadic.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list