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

Method FailAfter

IDEHelper/Compiler/BfModule.cpp:3380–3393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3378}
3379
3380BfError* BfModule::FailAfter(const StringImpl& error, BfAstNode* refNode)
3381{
3382 if (mIgnoreErrors)
3383 return NULL;
3384
3385 if (refNode != NULL)
3386 refNode = BfNodeToNonTemporary(refNode);
3387
3388 mHadBuildError = true;
3389 BfError* bfError = mCompiler->mPassInstance->FailAfter(error, refNode);
3390 if (bfError != NULL)
3391 bfError->mProject = mProject;
3392 return bfError;
3393}
3394
3395BfError* BfModule::Warn(int warningNum, const StringImpl& warning, BfAstNode* refNode, bool isPersistent, bool showInSpecialized)
3396{

Callers 5

LoadFieldMethod · 0.45
ResolveArgValuesMethod · 0.45
InitializedSizedArrayMethod · 0.45
VisitMethod · 0.45
DoMemberReferenceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected