llvm::set_difference

set_difference(A, B) - Return A - B

Synopsis

Declared in <llvm/ADT/SetOperations.h>

template<
    class S1Ty,
    class S2Ty>
S1Ty
set_difference(
    S1Ty const& S1,
    S2Ty const& S2);

Return Value

A new set containing elements of S1 that are not in S2.

Parameters

NameDescription
S1Set whose elements are considered for the result.
S2Set of elements to exclude from the result.