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

Method SetHighestElementType

IDEHelper/Compiler/BfModule.cpp:3062–3069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3060}
3061
3062void BfModule::SetHighestElementType(BfAstNode* astNode, BfSourceElementType elementType)
3063{
3064 if (mCompiler->mResolvePassData != NULL)
3065 {
3066 if (auto sourceClassifier = mCompiler->mResolvePassData->GetSourceClassifier(astNode))
3067 sourceClassifier->SetHighestElementType(astNode, elementType);
3068 }
3069}
3070
3071bool BfModule::PreFail()
3072{

Callers 2

ResolveTypeResultMethod · 0.45
LookupIdentifierMethod · 0.45

Calls 1

GetSourceClassifierMethod · 0.80

Tested by

no test coverage detected