diff options
author | Mark de Wever <koraq@xs4all.nl> | 2021-10-10 15:40:50 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2021-10-21 17:28:17 +0200 |
commit | 56df1d80e2911a8cd23b70e9b7e76fcb386c7956 (patch) | |
tree | b35dcf12eaa97e8bede7f9a2adbbd02520944012 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 77fdc0e56bf9463b432f1a2073ac506a8df9b652 (diff) | |
download | llvm-56df1d80e2911a8cd23b70e9b7e76fcb386c7956.zip llvm-56df1d80e2911a8cd23b70e9b7e76fcb386c7956.tar.gz llvm-56df1d80e2911a8cd23b70e9b7e76fcb386c7956.tar.bz2 |
[libc++] Use addressof in vector.
This addresses the usage of `operator&` in `<vector>`.
I now added tests for the current offending cases. I wonder whether it
would be better to add one addressof test per directory and test all
possible violations. Also to guard against possible future errors?
(Note there are still more headers with the same issue.)
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D111961
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions