Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

Try to import every Decl in DeclContext at error. #660

Closed balazske closed 5 years ago

balazske commented 5 years ago

If import of one Decl fails during import of child Decls, do not stop immediately instead continue with importing. The errors from child imports are collected in a special Error object. The handleAllErrors should handle this error list and call the error handlers for the contained errors (no modification is needed in CrossTranslationUnitContext::importDefinition or other users).