summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MIParser.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-07-08 21:30:21 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-07-08 21:30:21 +0000
commitdf08179d1bf128bd0d16dfa68b37cb409930eb3c (patch)
treee0e5b4ddce6f8556a7a70af9e83c170584a31d12 /llvm/lib/CodeGen/MIRParser/MIParser.cpp
parent5c27308a8f599d29f336e951855b0fa9dcbabe95 (diff)
downloadbcm5719-llvm-df08179d1bf128bd0d16dfa68b37cb409930eb3c.tar.gz
bcm5719-llvm-df08179d1bf128bd0d16dfa68b37cb409930eb3c.zip
MIR Parser: Remove redundant TODO comment. NFC.
This TODO comment has been redundant since r240474. llvm-svn: 241737
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIParser.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIParser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp
index 01e7d324a75..0664c5170af 100644
--- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp
@@ -134,8 +134,6 @@ void MIParser::lex() {
bool MIParser::error(const Twine &Msg) { return error(Token.location(), 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()));
Error = SMDiagnostic(
SM, SMLoc(),
OpenPOWER on IntegriCloud