Details
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 29573 Build 29572: arc lint + arc unit
Event Timeline
| lib/AST/ASTImporter.cpp | ||
|---|---|---|
| 7791 | 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 | ||
|---|---|---|
| 3363–3364 | There is the same deletion in D53757. | |
| 8592 | 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 | ||
|---|---|---|
| 8592 | The Import call was already here: "ToContext.hasSameType(Import(From), To))" | |
There is the same deletion in D53757.