Emits an error message associated with the current reader offset. TODO: Generate a location based on the current offset instead of UnknownLoc.
| 264 | // TODO: Generate a location based on the current offset instead of |
| 265 | // UnknownLoc. |
| 266 | InFlightDiagnostic emitError() const { |
| 267 | return ::emitError(UnknownLoc::get(&context)) |
| 268 | << "error at offset " << offset << ": "; |
| 269 | } |
| 270 | |
| 271 | void inheritStringTableFrom(const EncodingReader &masterReader) { |
| 272 | this->stringData = masterReader.stringData; |
no outgoing calls