Remove stale comment
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 13 Mar 2014 17:58:09 +0000 (17:58 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 13 Mar 2014 17:58:09 +0000 (17:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203823 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCContext.cpp

index f7e30f5b0678a7e6f5dc1e38252f83b5d3204fcc..7f211255c6f2043960a944a70ab1c36ca864fe04 100644 (file)
@@ -330,10 +330,6 @@ const MCSectionCOFF *MCContext::getCOFFSection(StringRef Section) {
 /// allocated file number is returned.  The file numbers may be in any order.
 unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
                                  unsigned FileNumber, unsigned CUID) {
-  // TODO: a FileNumber of zero says to use the next available file number.
-  // Note: in GenericAsmParser::ParseDirectiveFile() FileNumber was checked
-  // to not be less than one.  This needs to be change to be not less than zero.
-
   MCDwarfFileTable &Table = MCDwarfFileTablesCUMap[CUID];
   SmallVectorImpl<MCDwarfFile *>& MCDwarfFiles = Table.getMCDwarfFiles();
   SmallVectorImpl<StringRef>& MCDwarfDirs = Table.getMCDwarfDirs();