]> granicus.if.org Git - clang/commit
[ASTImporter] Propagate errors during import of overridden methods.
authorBalazs Keri <1.int32@gmail.com>
Fri, 30 Aug 2019 10:12:14 +0000 (10:12 +0000)
committerBalazs Keri <1.int32@gmail.com>
Fri, 30 Aug 2019 10:12:14 +0000 (10:12 +0000)
commite62fc8605148f90311ef6a2667db6c66d80bea31
treecc5e669069d804e8be0cf1f01bd12f5aed83c127
parentb6cbdf1b70fcaf54b91086c1fb922a2f99282172
[ASTImporter] Propagate errors during import of overridden methods.

Summary:
If importing overridden methods fails for a method it can be seen
incorrectly as non-virtual. To avoid this inconsistency the method
is marked with import error to avoid later use of it.

Reviewers: martong, a.sidorin, shafik, a_sidorin

Reviewed By: martong, shafik

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66933

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370457 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp
unittests/AST/ASTImporterTest.cpp