<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Nov 26, 2008, at 10:00 AM, Brian Watt wrote:</div><blockquote type="cite"><font size="2" face="sans-serif">In clang is it possible to declare C-language function prototypes for overloaded functions even though it is not C-language legal. It's because I see that GLSL provides something like this, and I'm wondering if clang does too and how to express it either through command line argument or language attributes, etc.?</font> </blockquote><div><br></div><div>Hi Brian,</div><div><br></div><div>I'm redirecting this to the cfe-dev mailing list, which is where most clang discussions happen. I'll follow up there,</div><div><br></div><div>-Chris</div><div><br></div><br><blockquote type="cite"><br> <br><font size="2" face="sans-serif">int f(int, int);</font> <br><font size="2" face="sans-serif">float f(float, float);</font> <br><font size="2" face="sans-serif">int g() {</font> <br><font size="2" face="sans-serif"> float x = f(1.0f, 2.0f);</font> <br><font size="2" face="sans-serif">}</font> <br><font size="2" face="sans-serif"><br> Brian Watt, IBM</font>_______________________________________________<br>LLVM Developers mailing list<br>LLVMdev@cs.uiuc.edu <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></body></html>