Details
Diff Detail
- Repository
- rC Clang
Event Timeline
lib/AST/ASTImporter.cpp | ||
---|---|---|
7797 | Actually, this patch is not merely a Import -> Import_New substitution. As this line shows, the error will be propagated correctly. However, in the old version we return with a nullptr DC which may be referenced later. This is the reason, why https://reviews.llvm.org/D59692 breaks in the unittests and thus depends on this patch. |
Hi Balazs,
The looks mostly good to me.
lib/AST/ASTImporter.cpp | ||
---|---|---|
3369–3370 | There is the same deletion in D53757. | |
8598 | Wow, we import types instead of just checking them for structural equivalence. That's OK to leave it in the patch as-is but looks pretty strange. Maybe this even deserves a FIXME. | |
unittests/AST/ASTImporterTest.cpp | ||
160 | Dead code? |
lib/AST/ASTImporter.cpp | ||
---|---|---|
8598 | The Import call was already here: "ToContext.hasSameType(Import(From), To))" |
There is the same deletion in D53757.