Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !113

Local variable cleanup

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Pedro Gonnet requested to merge local_variable_cleanup into master Mar 08, 2016
  • Overview 8
  • Commits 21
  • Changes

First batch of formatting fixes, submitting these before things get massively out of sync again.

I've tried to apply the following rules throughout the code:

  • Local variables should be declared within the scope in which they are used.
  • Read-only variables should be declared const.
  • Local variables used in only a limit range of the scope should get their own scope.

I've also tried being a bit more explicit in variable and function naming.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: local_variable_cleanup