diff options
author | Mark de Wever <koraq@xs4all.nl> | 2023-03-03 19:41:36 +0100 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2023-03-07 19:03:56 +0100 |
commit | 157f34af7157686e6dcae631573034046340953d (patch) | |
tree | ec3642846fe002f3dc35041a8f24514fdaf7f464 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 347a65a16493f00ee3eaeaeaf11d3611c62343eb (diff) | |
download | llvm-157f34af7157686e6dcae631573034046340953d.zip llvm-157f34af7157686e6dcae631573034046340953d.tar.gz llvm-157f34af7157686e6dcae631573034046340953d.tar.bz2 |
[libc++] Fixes basic_string operator& hijacking.
Avoids using operator& in basic_string since an evil char-like type can
hijack this operator. Added some more evil operators, this found a place
where equality was compared directly and not via the traits.
This adds a helper test string. This is now only used in a few tests,
but the intention is to use this in more tests for basic_string.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D145257
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions