Skip to content
Commit 65ec9305 authored by Guillaume Papin's avatar Guillaume Papin
Browse files

clang-modernize: Fix bugs in Pass-By-Value transform

- Limit the transform to const-ref and non-const value parameters only.
- Do not generate a replacement when the type is already a value.

See CM-139 for the bugs corresponding to this issue.

llvm-svn: 190212
parent 3466342f
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