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


Reply via email to