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

Name

Description

LHS

First node to compare.

RHS

Second node to compare.

Created with MrDocs