* Mitchell Blank Jr <[email protected]> wrote: > I actually did that in a project once (an "unlikely_if()" macro) It > was not a good idea. The problem is that every syntax-highlighter > knows that "if" is a keyword but you'd have to teach it about > "unlikely_if". It was surprising how visually jarring having > different pretty-printing for different types of "if" statements was. > "if (unlikely())" looks much cleaner in comparison. a better syntax would be: if __unlikely (cond) { ... } since it's the extra parantheses that are causing the visual complexity. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Mitchell Blank Jr <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- References:
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Martin Bligh <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Arjan van de Ven <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Matt Mackall <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Martin Bligh <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Martin Bligh <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Linus Torvalds <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- From: Mitchell Blank Jr <[email protected]>
- Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Prev by Date: Re: 2.6.15-mm1 - locks solid when starting KDE (EDAC errors)
- Next by Date: Re: 2.6.15-mm1 - locks solid when starting KDE (EDAC errors)
- Previous by thread: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Next by thread: Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers
- Index(es):