llvm::operator==

Compare nodes LHS and RHS using derived-class equality.

Synopsis

Declared in <llvm/ADT/DirectedGraph.h>

bool
operator==(
    DDGNode const& LHS,
    DDGNode const& RHS);

NOTE

This function is a hidden friend of DGNode, declared only inside that class: it can be found only through argument-dependent lookup.

Description

Static polymorphism: delegate implementation (via isEqualTo) to the derived class.

Return Value

True if the nodes compare equal.

Parameters

NameDescription
LHSFirst node to compare.
RHSSecond node to compare.