This revision was automatically updated to reflect the committed changes.
Closed by commit rL340402: Fix import of class templates partial specialization
(authored by martong, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D50451?vs=16
a_sidorin accepted this revision.
a_sidorin added a comment.
This revision is now accepted and ready to land.
Thank you!
Repository:
rC Clang
https://reviews.llvm.org/D50451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llv
martong updated this revision to Diff 161699.
martong added a comment.
- Add one more TODO to import instantiated exception specifications
Repository:
rC Clang
https://reviews.llvm.org/D50451
Files:
include/clang/ASTMatchers/ASTMatchers.h
lib/AST/ASTImporter.cpp
lib/ASTMatchers/ASTMatc
martong updated this revision to Diff 161698.
martong marked an inline comment as done.
martong added a comment.
- Change comments
Repository:
rC Clang
https://reviews.llvm.org/D50451
Files:
include/clang/ASTMatchers/ASTMatchers.h
lib/AST/ASTImporter.cpp
lib/ASTMatchers/ASTMatchersInte
martong marked an inline comment as done.
martong added inline comments.
Comment at: lib/AST/ASTImporter.cpp:4550
+ // in the "From" context, but not in the "To" context.
+ for (auto *FromField : D->fields())
+Importer.Import(FromField);
a_sidor
a_sidorin added inline comments.
Comment at: lib/AST/ASTImporter.cpp:4550
+ // in the "From" context, but not in the "To" context.
+ for (auto *FromField : D->fields())
+Importer.Import(FromField);
martong wrote:
> martong wrote:
> > a_sidorin w
martong added inline comments.
Comment at: lib/AST/ASTImporter.cpp:4550
+ // in the "From" context, but not in the "To" context.
+ for (auto *FromField : D->fields())
+Importer.Import(FromField);
martong wrote:
> a_sidorin wrote:
> > Importing a
martong updated this revision to Diff 160552.
martong added a comment.
- Add new test
- Fix indentation
Repository:
rC Clang
https://reviews.llvm.org/D50451
Files:
include/clang/ASTMatchers/ASTMatchers.h
lib/AST/ASTImporter.cpp
lib/ASTMatchers/ASTMatchersInternal.cpp
unittests/AST/AS
martong marked 3 inline comments as done.
martong added inline comments.
Comment at: lib/AST/ASTImporter.cpp:4551
+ for (auto *FromField : D->fields())
+Importer.Import(FromField);
+
martong wrote:
> a_sidorin wrote:
> > The result of import is unche
martong marked 5 inline comments as done.
martong added inline comments.
Comment at: lib/AST/ASTImporter.cpp:2872
Importer.MapImported(D, FoundField);
+// In case of a FieldDecl of a ClassTemplateSpecializationDecl, the
+// initializer of a FieldDecl migh
a_sidorin added a comment.
Hi Gabor,
While importing methods looks harmless, importing fields can be a breaking
change. Do you have any test results on this?
Comment at: lib/AST/ASTImporter.cpp:2872
Importer.MapImported(D, FoundField);
+// In case of a FieldD
11 matches
Mail list logo