This is an archive of the discontinued LLVM Phabricator instance.

clang/Modules: Clean up modules on error in ReadAST
ClosedPublic

Authored by dexonsmith on Nov 10 2019, 11:38 AM.

Details

Summary

ReadASTBlock and ReadASTExtensions can both return failures. Be
consistent and remove all the just-loaded modules, just like when
ReadASTCore returns failures.

Diff Detail