{"url":"https://api.github.com/repos/llvm/llvm-project/issues/98027","repository_url":"https://api.github.com/repos/llvm/llvm-project","labels_url":"https://api.github.com/repos/llvm/llvm-project/issues/98027/labels{/name}","comments_url":"https://api.github.com/repos/llvm/llvm-project/issues/98027/comments","events_url":"https://api.github.com/repos/llvm/llvm-project/issues/98027/events","html_url":"https://github.com/llvm/llvm-project/pull/98027","id":2395789607,"node_id":"PR_kwDOBITxeM50tB-6","number":98027,"title":"[Clang][Index] Add support for dependent class scope explicit specializations of function templates to USRGenerator","user":{"login":"sdkrystian","id":16629302,"node_id":"MDQ6VXNlcjE2NjI5MzAy","avatar_url":"https://avatars.githubusercontent.com/u/16629302?v=4","gravatar_id":"","url":"https://api.github.com/users/sdkrystian","html_url":"https://github.com/sdkrystian","followers_url":"https://api.github.com/users/sdkrystian/followers","following_url":"https://api.github.com/users/sdkrystian/following{/other_user}","gists_url":"https://api.github.com/users/sdkrystian/gists{/gist_id}","starred_url":"https://api.github.com/users/sdkrystian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdkrystian/subscriptions","organizations_url":"https://api.github.com/users/sdkrystian/orgs","repos_url":"https://api.github.com/users/sdkrystian/repos","events_url":"https://api.github.com/users/sdkrystian/events{/privacy}","received_events_url":"https://api.github.com/users/sdkrystian/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[{"id":1958965060,"node_id":"MDU6TGFiZWwxOTU4OTY1MDYw","url":"https://api.github.com/repos/llvm/llvm-project/labels/clang","name":"clang","color":"79b5d1","default":false,"description":"Clang issues not falling into any other category"}],"state":"closed","locked":false,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-07-08T14:22:25Z","updated_at":"2024-07-08T18:52:40Z","closed_at":"2024-07-08T18:52:40Z","assignee":null,"author_association":"MEMBER","issue_field_values":[],"type":null,"active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/llvm/llvm-project/pulls/98027","html_url":"https://github.com/llvm/llvm-project/pull/98027","diff_url":"https://github.com/llvm/llvm-project/pull/98027.diff","patch_url":"https://github.com/llvm/llvm-project/pull/98027.patch","merged_at":"2024-07-08T18:52:40Z"},"body":"Given the following:\r\n```cpp\r\ntemplate<typename T>\r\nstruct A\r\n{\r\n    void f(int); // #1\r\n    \r\n    template<typename U>\r\n    void f(U); // #2\r\n    \r\n    template<>\r\n    void f<int>(int); // #3\r\n};\r\n```\r\nClang will generate the same USR for `#1` and `#2`. This patch fixes the issue by including the template arguments of dependent class scope explicit specializations in their USRs.","closed_by":{"login":"sdkrystian","id":16629302,"node_id":"MDQ6VXNlcjE2NjI5MzAy","avatar_url":"https://avatars.githubusercontent.com/u/16629302?v=4","gravatar_id":"","url":"https://api.github.com/users/sdkrystian","html_url":"https://github.com/sdkrystian","followers_url":"https://api.github.com/users/sdkrystian/followers","following_url":"https://api.github.com/users/sdkrystian/following{/other_user}","gists_url":"https://api.github.com/users/sdkrystian/gists{/gist_id}","starred_url":"https://api.github.com/users/sdkrystian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdkrystian/subscriptions","organizations_url":"https://api.github.com/users/sdkrystian/orgs","repos_url":"https://api.github.com/users/sdkrystian/repos","events_url":"https://api.github.com/users/sdkrystian/events{/privacy}","received_events_url":"https://api.github.com/users/sdkrystian/received_events","type":"User","user_view_type":"public","site_admin":false},"reactions":{"url":"https://api.github.com/repos/llvm/llvm-project/issues/98027/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/llvm/llvm-project/issues/98027/timeline","performed_via_github_app":null,"state_reason":null}