mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
MIR Parser: Remove redundant TODO comment. NFC.
This TODO comment has been redundant since r240474. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35e18726d9
commit
f67f2c25fe
@ -134,8 +134,6 @@ void MIParser::lex() {
|
|||||||
bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); }
|
bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); }
|
||||||
|
|
||||||
bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) {
|
bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) {
|
||||||
// TODO: Get the proper location in the MIR file, not just a location inside
|
|
||||||
// the string.
|
|
||||||
assert(Loc >= Source.data() && Loc <= (Source.data() + Source.size()));
|
assert(Loc >= Source.data() && Loc <= (Source.data() + Source.size()));
|
||||||
Error = SMDiagnostic(
|
Error = SMDiagnostic(
|
||||||
SM, SMLoc(),
|
SM, SMLoc(),
|
||||||
|
Loading…
Reference in New Issue
Block a user