martong added a comment.
http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/29310/ is green.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62373/new/
https://reviews.llvm.org/D62373
___
cfe-commits mailing list
This revision was automatically updated to reflect the committed changes.
Closed by commit rL364279: [ASTImporter] Store import errors for Decls
(authored by martong, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.
martong marked 2 inline comments as done.
martong added a comment.
@shafik I've been looking for any lldb regression in our Mac machine, could not
find any. Now I am looking at
http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/ . I don't expect
regression because here we changed logic ab
martong marked 4 inline comments as done.
martong added inline comments.
Comment at: clang/lib/AST/ASTImporter.cpp:7851
+if (!getImportDeclErrorIfAny(FromD)) {
+ // Error encountered for the first time.
+ // After takeError the error is not usable any more in ToDOrE
martong updated this revision to Diff 206218.
martong marked 2 inline comments as done.
martong added a comment.
- Assert that we set the error only once
- Remove the macro and use std::string.op+
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62373/
balazske added inline comments.
Comment at: clang/lib/AST/ASTImporter.cpp:7851
+if (!getImportDeclErrorIfAny(FromD)) {
+ // Error encountered for the first time.
+ // After takeError the error is not usable any more in ToDOrErr.
martong wrote:
> bal
martong marked 4 inline comments as done.
martong added inline comments.
Comment at: clang/lib/AST/ASTImporter.cpp:7851
+if (!getImportDeclErrorIfAny(FromD)) {
+ // Error encountered for the first time.
+ // After takeError the error is not usable any more in ToDOrE
balazske added inline comments.
Comment at: clang/lib/AST/ASTImporter.cpp:7851
+if (!getImportDeclErrorIfAny(FromD)) {
+ // Error encountered for the first time.
+ // After takeError the error is not usable any more in ToDOrErr.
martong wrote:
> a_s
a_sidorin accepted this revision.
a_sidorin added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/unittests/AST/ASTImporterTest.cpp:4697
+DefaultTestValuesForRunOptions, );
+
INSTANTIATE_TEST_CASE_P(ParameterizedTests,
martong updated this revision to Diff 206020.
martong added a comment.
- Remove unused include and using
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62373/new/
https://reviews.llvm.org/D62373
Files:
clang/include/clang/AST/ASTImporter.h
clan
martong updated this revision to Diff 206017.
martong added a comment.
- Remove formatv b/c it can't handle braces in code
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62373/new/
https://reviews.llvm.org/D62373
Files:
clang/include/clang/AST/AS
martong marked 3 inline comments as done.
martong added inline comments.
Comment at: clang/lib/AST/ASTImporter.cpp:5109
} else { // ODR violation.
// FIXME HandleNameConflict
+ return make_error(ImportError::NameConflict);
a_sidorin wrote:
> Is t
martong updated this revision to Diff 205814.
martong marked an inline comment as done.
martong added a comment.
- Remove unrelated change
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62373/new/
https://reviews.llvm.org/D62373
Files:
clang/incl
martong updated this revision to Diff 205811.
martong marked 3 inline comments as done.
martong added a comment.
- Test error values are set for AST nodes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62373/new/
https://reviews.llvm.org/D62373
Fil
a_sidorin added a comment.
Hi Gabor,
The idea looks fine to me, but I have some questions inline.
Comment at: clang/lib/AST/ASTImporter.cpp:5109
} else { // ODR violation.
// FIXME HandleNameConflict
+ return make_error(ImportError::NameConflict);
-
martong created this revision.
martong added a reviewer: a_sidorin.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dkrupp, rnkovacs.
Herald added a reviewer: a.sidorin.
Herald added a reviewer: shafik.
Herald added a project: clang.
We add a new member which is a mapping from the alr
16 matches
Mail list logo