| 1873 | } |
| 1874 | |
| 1875 | BfError* BfPassInstance::WarnAfter(int warningNumber, const StringImpl& warning, BfAstNode* refNode) |
| 1876 | { |
| 1877 | auto parser = refNode->GetSourceData()->ToParserData(); |
| 1878 | if (parser != NULL) |
| 1879 | { |
| 1880 | if (parser->IsUnwarnedAt(refNode)) |
| 1881 | { |
| 1882 | mLastWasDisplayed = false; |
| 1883 | return NULL; |
| 1884 | } |
| 1885 | } |
| 1886 | |
| 1887 | return WarnAt(warningNumber, warning, refNode->GetSourceData(), refNode->GetSrcEnd()); |
| 1888 | } |
| 1889 | |
| 1890 | BfError* BfPassInstance::WarnAfterAt(int warningNumber, const StringImpl& error, BfSourceData* bfSource, int srcIdx) |
| 1891 | { |
nothing calls this directly
no test coverage detected