[all-commits] [llvm/llvm-project] a56285: [libc++] NFC: Fix return-by-const-value and pass-b...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Jun 29 10:57:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a562853a511b078912f3a9fccb4a27220ce75e9e
https://github.com/llvm/llvm-project/commit/a562853a511b078912f3a9fccb4a27220ce75e9e
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)
Changed paths:
M libcxx/include/vector
M libcxx/src/string.cpp
M libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
M libcxx/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
Log Message:
-----------
[libc++] NFC: Fix return-by-const-value and pass-by-const-value typos
While we can debate on the value of passing by const value, there is no
arguing that it's confusing to do so in some circumstances, such as when
marking a pointer parameter as being const (did you mean a pointer-to-const?).
This commit fixes a few issues along those lines.
More information about the All-commits
mailing list