[PATCH] Diagnose variadic main

Aaron Ballman aaron at aaronballman.com
Thu Apr 9 11:55:11 PDT 2015


This patch diagnoses a variadic main declaration as being an
extension. While it could conceivably be an error instead of a
warning, I figured that this is a conforming extension and has less
chance of breaking existing code (though I'm not strongly tied to one
diagnostic over the other).

It addresses PR17905.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.patch
Type: application/octet-stream
Size: 1708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150409/bc0e019d/attachment.obj>


More information about the cfe-commits mailing list