Details
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 25474 Build 25473: arc lint + arc unit
Event Timeline
lib/AST/ASTImporter.cpp | ||
---|---|---|
7767 ↗ | (On Diff #175864) | 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 | ||
---|---|---|
3440 ↗ | (On Diff #175864) | There is the same deletion in D53757. |
8550 ↗ | (On Diff #175864) | 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 | ||
146 | Dead code? |
lib/AST/ASTImporter.cpp | ||
---|---|---|
8550 ↗ | (On Diff #175864) | The Import call was already here: "ToContext.hasSameType(Import(From), To))" |
Dead code?