GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - awegrzyn/CodingGuidelines: Coding guidelines for the ALICE O2 project

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
javascript
javascript
 
 
Eclipse_O2_formatting.xml
Eclipse_O2_formatting.xml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_clang-format-3
_clang-format-3
 
 
_clang-format-4
_clang-format-4
 
 
coding_guidelines.html
coding_guidelines.html
 
 
comments_guidelines.html
comments_guidelines.html
 
 
naming_formatting.html
naming_formatting.html
 
 
settings-codestyle-clion.jar
settings-codestyle-clion.jar
 
 
styleguide.css
styleguide.css
 
 

Repository files navigation

ALICE O2 Coding Guidelines

Coding guidelines for the ALICE O2 project.

Documents

  • Coding guidelines
  • Naming and formatting conventions
  • Comments guidelines

ClangFormat

ClangFormat can be used to format your source code. The configuration file. We provide to files, one for clang 4.4 and one for the versions above.

  • _clang-format (< 4.5)
  • _clang-format (>= 4.5)

To use it (example for SLC6) :

sudo yum install clang
cd <source code location>
cp _clang-format-44 ../.clang-format
clang-format -style=file -i SOURCEFILE # -i if you want to replace content

Configuration files for editors

Eclipse

  1. Download,
  2. Go to Project->Properties->C/C++ General->Formatter,
  3. Select the option "Enable project specific settings",
  4. Click on the "Import..." button.

CLion

  1. Download,
  2. Go to File -> Import Settings.

FAQ

  • Q I strongly disagree with rule X !
  • A Feel free to contact the CWG11 ([email protected]) to share your concern(s). Rules have already been amended, abandoned or added based on the users feedback. However, please comply with the rules until a change is agreed by CWG11.

About

Coding guidelines for the ALICE O2 project

Resources

Readme
LGPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.