[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-04-13 Thread Balázs Kéri via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG596752863e27: [clang][ASTImporter] Fix an import error handling related bug. (authored by balazske). Repository: rG LLVM Github Monorepo CHANGES

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-04-12 Thread Gabor Marton via Phabricator via cfe-commits
martong accepted this revision. martong added a comment. This revision is now accepted and ready to land. Very good! Thanks for the update! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122525/new/ https://reviews.llvm.org/D122525

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-04-12 Thread Balázs Kéri via Phabricator via cfe-commits
balazske updated this revision to Diff 422139. balazske added a comment. Created a common place for the `DeclContext` child error handling code. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122525/new/ https://reviews.llvm.org/D122525 Files: cl

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-04-11 Thread Gabor Marton via Phabricator via cfe-commits
martong added inline comments. Comment at: clang/lib/AST/ASTImporter.cpp:8792-8794 +if (!isa(FromDi)) + if (auto *FromDiDC = dyn_cast(FromDi)) +if (FromDiDC->containsDecl(PrevFromDi)) balazske wrote: > martong wrote: > > We should ele

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-04-06 Thread Balázs Kéri via Phabricator via cfe-commits
balazske added inline comments. Comment at: clang/lib/AST/ASTImporter.cpp:8792-8794 +if (!isa(FromDi)) + if (auto *FromDiDC = dyn_cast(FromDi)) +if (FromDiDC->containsDecl(PrevFromDi)) martong wrote: > We should elevate this logic and

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-03-31 Thread Gabor Marton via Phabricator via cfe-commits
martong added a comment. Related: https://reviews.llvm.org/D112132 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122525/new/ https://reviews.llvm.org/D122525 ___ cfe-commits mailing list cfe-commits@list

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-03-31 Thread Gabor Marton via Phabricator via cfe-commits
martong added a comment. Nice catch! Comment at: clang/lib/AST/ASTImporter.cpp:8789-8791 +// The import path contains child nodes first. +// (Parent-child relationship is used here in sense of import +// dependency.) I think, this commen

[PATCH] D122525: [clang][ASTImporter] Fix an import error handling related bug.

2022-03-26 Thread Balázs Kéri via Phabricator via cfe-commits
balazske created this revision. Herald added subscribers: steakhal, martong, gamesh411, Szelethus, dkrupp. Herald added a reviewer: a.sidorin. Herald added a reviewer: shafik. Herald added a project: All. balazske requested review of this revision. Herald added a project: clang. Herald added a subs