diff options
| author | Jay Foad <jay.foad@amd.com> | 2024-02-13 13:44:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-13 13:44:31 +0000 |
| commit | 880afa1c5d1b099eed5034340a67e56b9dda4c09 (patch) | |
| tree | ff0c766100b774efb8083a88087054d7470808b2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | a17a3e9d9a6b4baefd96e19ee5e8ce04cead8ab5 (diff) | |
| download | llvm-880afa1c5d1b099eed5034340a67e56b9dda4c09.zip llvm-880afa1c5d1b099eed5034340a67e56b9dda4c09.tar.gz llvm-880afa1c5d1b099eed5034340a67e56b9dda4c09.tar.bz2 | |
[TableGen] Use vectors instead of sets for testing intersection. NFC. (#81602)
In a few places we test whether sets (i.e. sorted ranges) intersect by
computing the set_intersection and then testing whether it is empty. For
this purpose it should be more efficient to use a std:vector instead of
a std::set to hold the result of the set_intersection, since insertion
is simpler.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
