superlu icon indicating copy to clipboard operation
superlu copied to clipboard

Wherever possible declared parameter as pointer to const

Open gruenich opened this issue 1 year ago • 1 comments

Found by Cppcheck (constParameterPointer).

More details why this is a good idea: https://wiki.sei.cmu.edu/confluence/display/c/DCL13-C.+Declare+function+parameters+that+are+pointers+to+values+not+changed+by+the+function+as+const

gruenich avatar Aug 06 '24 20:08 gruenich

This pull request is not complete, there are still plenty of places where Cppcheck complains constParameterPointer.

gruenich avatar Aug 06 '24 20:08 gruenich