MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / operator==

Function operator==

common/decl.h:128–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128inline bool operator==(const VariableDecl& lhs, const VariableDecl& rhs) {
129 return lhs.name() == rhs.name() && lhs.type() == rhs.type() &&
130 lhs.has_value() == rhs.has_value() && lhs.value() == rhs.value();
131}
132
133inline bool operator!=(const VariableDecl& lhs, const VariableDecl& rhs) {
134 return !operator==(lhs, rhs);

Callers

nothing calls this directly

Calls 7

typeMethod · 0.80
argsMethod · 0.80
memberMethod · 0.80
nameMethod · 0.45
has_valueMethod · 0.45
valueMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected