[PATCH] D18765: [clang-tidy] Don't complain about const pass_object_size params in declarations
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 5 02:13:11 PDT 2016
alexfh added a comment.
To clarify: the `pass_object_size` attribute is not the only reason to mark parameter `const` in the definition. However, there's no reason to also mark them `const` in declarations, since that `const` is not a part of the function's interface.
http://reviews.llvm.org/D18765
More information about the cfe-commits
mailing list