aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringMapTest.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2023-02-16 14:37:07 -0800
committerTeresa Johnson <tejohnson@google.com>2023-02-17 07:18:32 -0800
commitbf0f94a5cf82e62e86c454d96ab8bd29adcb71af (patch)
treec71db50ffdf1d93473c7351f2f7ec1447d048ebc /llvm/unittests/ADT/StringMapTest.cpp
parent17a90f1196c1a4b48b8d02c055497565ce5c785d (diff)
downloadllvm-bf0f94a5cf82e62e86c454d96ab8bd29adcb71af.zip
llvm-bf0f94a5cf82e62e86c454d96ab8bd29adcb71af.tar.gz
llvm-bf0f94a5cf82e62e86c454d96ab8bd29adcb71af.tar.bz2
New SetOperations and unittesting for all SetOperations
New set operations split out of D140908 as suggested, and I have added unit testing for all set operations. This adds a set_intersection, which returns the intersection instead of updating the first set like set_intersect (using a different name analogous to set_difference vs set_subtract). Also adds a variant of set_subtract that updates two additional set arguments to note which members of the subtrahend were removed from the minuend and which were not. Differential Revision: https://reviews.llvm.org/D144220
Diffstat (limited to 'llvm/unittests/ADT/StringMapTest.cpp')
0 files changed, 0 insertions, 0 deletions