MCPcopy Create free account
hub / github.com/beefytech/Beef / NameEquals

Method NameEquals

IDEHelper/Compiler/BfSystem.cpp:1022–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020}
1021
1022bool BfTypeDef::NameEquals(BfTypeDef* otherTypeDef)
1023{
1024 if (mName != otherTypeDef->mName)
1025 return false;
1026 // We can't just check mFullnames, because a namespace of "A" with a type named "B.C" would match
1027 // a namespace of "A.B" with a type named "C"
1028 if (mNamespace.mSize != otherTypeDef->mNamespace.mSize)
1029 return false;
1030 return mFullName == otherTypeDef->mFullName;
1031}
1032
1033bool BfTypeDef::HasSource(BfSource* source)
1034{

Callers 3

UpdateRevisedTypesMethod · 0.80
VisitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected