rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

Looks good with a minor cleanup. Thanks!



================
Comment at: clang/lib/Sema/SemaTemplate.cpp:2081-2085
     TypeLocBuilder InnerTLB;
     QualType Transformed =
         TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc());
     TypeSourceInfo *TSI =
         TransformType(InnerTLB.getTypeSourceInfo(Context, Transformed));
----------------
We only need to transform the underlying type of the typedef if we're cloning 
the typedef.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92101

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to