martong marked an inline comment as done.
martong added a comment.

> Are you going to add any tests in the following patches?

I don't have any tests for now, but in a later patch we can create them.



================
Comment at: clang/lib/AST/ASTImporter.cpp:8043
+
+  Error VisitFunctionTypeLoc(FunctionTypeLoc From) {
+    auto To = ToL.castAs<FunctionTypeLoc>();
----------------
a_sidorin wrote:
> Does this import interacts well with type loc import partially done at L3258 
> (VisitFunctionDecl)? Should we merge them?
I think we should check here whether the given ParmVarDecl had been imported 
previously and if yes then set that with `setParam`, otherwise it could be set 
to a nullptr. @balazske what do you think?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71018/new/

https://reviews.llvm.org/D71018



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D71018: [ASTImporter... Gabor Marton via Phabricator via cfe-commits

Reply via email to