-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
pramodk
commented
Jun 5, 2018
- previous PR from Jeremy didn't update source style
- disable indentation of namespaces
- upgrade clang-format to 5.0
- previous PR from Jeremy didn't update source style - disable indentation of namespaces
CMakeLists.txt
Outdated
@@ -163,8 +163,8 @@ add_definitions(-DCORENEURON_BUILD) | |||
option (ENABLE_SELECTIVE_GPU_PROFILING "Enable GPU profiling only for Solver" ON) | |||
option (ENABLE_OPENACC "Enable use of OpenACC" OFF) | |||
|
|||
set(CLANG_FORMAT_MIN_VERSION "4.0") | |||
set(CLANG_FORMAT_MAX_VERSION "4.9") | |||
set(CLANG_FORMAT_MIN_VERSION "5.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does changing CLANG_FORMAT_MIN version is changing some formating or correcting C++ formating ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
obviously this is typo...I wanted to set min to 5.0 and max to 5.9.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we changing clang-format minimal version ?
no specific reason but 4.0 is quite old now and when we install clang-format (say with brew), clang-format 5 is installed. Hence I thought we should start using latest version. |
p.s. note that most of changes in this PR are not specific to 5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good
- previous PR from Jeremy didn't update source style - disable indentation of namespaces CoreNEURON Repo SHA: BlueBrain/CoreNeuron@b21da2f