forked from OSchip/llvm-project
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:
parent
e076491759
commit
fae03d8add
|
@ -4257,7 +4257,7 @@ ASTReader::ReadASTCore(StringRef FileName,
|
|||
}
|
||||
}
|
||||
|
||||
return Success;
|
||||
llvm_unreachable("unexpected break; expected return");
|
||||
}
|
||||
|
||||
ASTReader::ASTReadResult
|
||||
|
|
Loading…
Reference in New Issue