Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm64
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-arm64
  • Repository
Switch branch/tag
  • ipipe-arm64
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Andy Whitcroft's avatar
    checkpatch: add checks for question mark and colon spacing · 1f65f947
    Andy Whitcroft authored Jul 23, 2008
    
    
    Add checks for the question mark colon operator spacing, and also check
    the other uses of colon.  Colon means a number of things:
    
     - it introduces the else part of the ?: operator,
     - it terminates a goto label,
     - it terminates the case value,
     - it separates the identifier from the bit size on bit fields, and
     - it is used to introduce option types in asm().
    Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    1f65f947

Imprint & Privacy Policy