| 3378 | } |
| 3379 | |
| 3380 | BfError* 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 | |
| 3395 | BfError* BfModule::Warn(int warningNum, const StringImpl& warning, BfAstNode* refNode, bool isPersistent, bool showInSpecialized) |
| 3396 | { |
no outgoing calls
no test coverage detected