[cfe-dev] Adding -add-override functionality to cpp11-migrate tool
Dmitri Gribenko
gribozavr at gmail.com
Mon Feb 4 11:03:46 PST 2013
On Mon, Feb 4, 2013 at 8:24 PM, Matthieu Monrocq
<matthieu.monrocq at gmail.com> wrote:
> I seem to remember there was some magic in the [[clang::fallthrough]]
> attribute that allowed one to find the last macro that evaluated to this
> attribute (should one exist), and thus allowed the fix-it hints to use the
> macro spelling instead of the "pure" spelling.
Philip,
You can find an example of that in r164892.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-dev
mailing list