These are chat archives for symengine/symengine

29th
Jun 2016
Arihant Parsoya
@parsoyaarihant
Jun 29 2016 05:09
Hi, I am workin on my PR #1004 and I am facing problem in formatting the files. I am running the command clang-format -i -style=llvm <filename>. The formatted files are creating merge conflicts. Please correct me if I am doing anything worng.
I am using clang-format version 3.7.0 (tags/RELEASE_370/final)
Srajan Garg
@srajangarg
Jun 29 2016 06:37
You just have to run ./bin/test_format_local.sh
All the necessary settings are already in .clang-format in the root folder
Srajan Garg
@srajangarg
Jun 29 2016 06:45
And use clang-format-3.5
Isuru Fernando
@isuruf
Jun 29 2016 06:57
Use clang-format-3.7
Don't use 3.5
Srajan Garg
@srajangarg
Jun 29 2016 07:19
Oh right, my bad
Arihant Parsoya
@parsoyaarihant
Jun 29 2016 07:52
thanks a lot :smile: . The documentation to install clang-format-3.7 on mac isn't good , but I figured a way out.
Ralf Stephan
@rwst
Jun 29 2016 08:07
while we're at it, how do you checkout the tags/RELEASE_370/final version if you have cloned the svn repo? I can't figure out
I'm too used to git already
Ralf Stephan
@rwst
Jun 29 2016 15:00
Quiz Question: if I want to return a Number just for reading (i.e. const) what do I return? const Number*?
Isuru Fernando
@isuruf
Jun 29 2016 15:02
const Number &
Ralf Stephan
@rwst
Jun 29 2016 15:05
you mean as return type?
Isuru Fernando
@isuruf
Jun 29 2016 15:06
yes. if you just want to read. if you want to store it a RCP
Ralf Stephan
@rwst
Jun 29 2016 15:06
OK