[llvm] r241737 - MIR Parser: Remove redundant TODO comment. NFC.

Alex Lorenz arphaman at gmail.com
Wed Jul 8 14:30:21 PDT 2015


Author: arphaman
Date: Wed Jul  8 16:30:21 2015
New Revision: 241737

URL: http://llvm.org/viewvc/llvm-project?rev=241737&view=rev
Log:
MIR Parser: Remove redundant TODO comment. NFC.

This TODO comment has been redundant since r240474.

Modified:
    llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp

Modified: llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp?rev=241737&r1=241736&r2=241737&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp (original)
+++ llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp Wed Jul  8 16:30:21 2015
@@ -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(),





More information about the llvm-commits mailing list