[PATCH] D157684: [clang][ASTImporter] Repeated friend templates are partially imported

Ding Fei via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 01:19:12 PDT 2023


danix800 added a comment.

By `FromContext` dump it's easy to observe that there're two different `FunctionTemplateDecl` (`0x5590cff48048` and `0x5590cff481f8`):

  |-FriendDecl 0x5590cff48048 <line:4:11, col:44> col:42
  | `-FunctionTemplateDecl 0x5590cff47f80 parent 0x5590cfefeda8 <col:11, col:44> col:42 m
  |   |-...
  `-FriendDecl 0x5590cff48260 <line:5:11, col:44> col:42
    `-FunctionTemplateDecl 0x5590cff481f8 parent 0x5590cfefeda8 <col:11, col:44> col:42 m
      |-...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157684



More information about the cfe-commits mailing list