[cfe-commits] [cfe-dev] Fixits for invalid main declarations
David Blaikie
dblaikie at gmail.com
Wed Sep 7 23:35:11 PDT 2011
>
> + Diag(DS.getStorageClassSpecLoc(), getLangOptions().CPlusPlus ?
> diag::err_static_main : diag::warn_static_main) <<
> FixItHint::CreateRemoval(DS.getStorageClassSpecLoc());
> + if (FD->isInlineSpecified())
> + Diag(DS.getInlineSpecLoc(), diag::err_inline_main) <<
> FixItHint::CreateRemoval(DS.getInlineSpecLoc());
>
> Please limit code to 80 columns. Otherwise, looks good! If you don't have
> commit access already, please follow the directions at
>
> http://llvm.org/docs/DeveloperPolicy.html#commitaccess
>
> so you can commit this yourself.
>
Done & done (revision 139282) - Thanks Doug!
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110907/c8d95702/attachment.html>
More information about the cfe-commits
mailing list