Modules: Document that ReadASTCore exits its final loop via `return`, NFC

The final loop never breaks.  Document that by following it with
llvm_unreachable.

llvm-svn: 355294
This commit is contained in:
Duncan P. N. Exon Smith 2019-03-03 20:17:53 +00:00
parent e076491759
commit fae03d8add
1 changed files with 1 additions and 1 deletions

View File

@ -4257,7 +4257,7 @@ ASTReader::ReadASTCore(StringRef FileName,
}
}
return Success;
llvm_unreachable("unexpected break; expected return");
}
ASTReader::ASTReadResult