Skip to content
Commit 9e4ecfae authored by Daniel Marjamaki's avatar Daniel Marjamaki
Browse files

[clang-tidy] readability-non-const-parameter: add new check that warns when...

[clang-tidy] readability-non-const-parameter: add new check that warns when function parameters should be const

The check will warn when the constness will make the function interface safer.

Reviewers: alexfh

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D15332

llvm-svn: 279507
parent 9aa6f010
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment