alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.

There's a principal difference between top-level `const` on parameters in 
definitions and in declarations: in definitions `const` has an effect, as it 
makes the variable constant, but in declarations it has absolutely no effect. 
Since declarations usually represent the function's interface, and top-level 
`const` on parameters doesn't change the function's signature, it's considered 
useless and misleading when used on declarations. Long story short, I don't see 
any value in this change.


http://reviews.llvm.org/D18765



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to