diff options
author | Reid Kleckner <rnk@google.com> | 2018-07-19 20:14:46 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-07-19 20:14:46 +0000 |
commit | 2efa05be2f30029d57145a13ae2ecdd8775c28cb (patch) | |
tree | 93439e64841f952731738f7ba865a746c2f5b496 /llvm/lib/Support/SmallVector.cpp | |
parent | 9888670c6be9d811e275e3faf40eb694d551a6a2 (diff) | |
download | llvm-2efa05be2f30029d57145a13ae2ecdd8775c28cb.zip llvm-2efa05be2f30029d57145a13ae2ecdd8775c28cb.tar.gz llvm-2efa05be2f30029d57145a13ae2ecdd8775c28cb.tar.bz2 |
Disable GCC's -Wclass-memaccess warning
It fires on things like SmallVector<std::pair<int, int>>, where we
intentionally use memcpy instead of calling the assignment operator.
This warning fires in practically every LLVM TU, so we have to do
something about it, even if we aren't interested in being 100% warning
clean with GCC.
Reported as PR37337
llvm-svn: 337492
Diffstat (limited to 'llvm/lib/Support/SmallVector.cpp')
0 files changed, 0 insertions, 0 deletions