[PATCH] D14326: ASTImporter: expressions, pt.2

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 20 08:49:58 PDT 2016


sepavloff added a comment.

With this patch unit tests pass on Windows as well.
I do not have formal authority to approve patches, but for me the patch is good enough to be accepted.


================
Comment at: lib/AST/ASTImporter.cpp:3422
@@ +3421,3 @@
+      D->getTrailingObjects<TemplateParameterList *>();
+  for (int I = 0; I < D->NumTPLists; I++) {
+    TemplateParameterList *List = ImportTemplateParameterList(FromTPLists[I]);
----------------
Consider using `unsigned` instead of `int` to avoid MSVC warning about mix of signed and unsigned types.


https://reviews.llvm.org/D14326





More information about the cfe-commits mailing list