| 1835 | } |
| 1836 | |
| 1837 | BfError* BfPassInstance::Warn(int warningNumber, const StringImpl& warning) |
| 1838 | { |
| 1839 | mWarnIdx++; |
| 1840 | mLastWasAdded = false; |
| 1841 | mLastWasDisplayed = (int)mErrors.size() <= sMaxDisplayErrors; |
| 1842 | if (!mLastWasDisplayed) |
| 1843 | return NULL; |
| 1844 | (void)warningNumber;//CDH TODO is warningNumber meaningful here w/o context? n/a for now |
| 1845 | OutputLine((":warn WARNING: " + warning).c_str()); |
| 1846 | return NULL; |
| 1847 | } |
| 1848 | |
| 1849 | BfError* BfPassInstance::Warn(int warningNumber, const StringImpl& warning, BfAstNode* refNode, bool isDeferred) |
| 1850 | { |
nothing calls this directly
no test coverage detected