Azure / Azure/azure-sdk-tools

C++ APIView - templated method on one line is showing up as part of another constant below

Open
#1,197 0 comments 0 reactions 0 assignees View on GitHub
APIView bug C++
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Leftover `template` showing up in APIView when it isn't part of that particular public API, but from the line above.
https://apiview.dev/Assemblies/Review/a5fe5245690f4fb986d28b4231f96dd1/6d221221c6e54b9c867b649f720573f2#Azure::Storage.InfiniteLeaseDuration
![image](https://user-images.githubusercontent.com/6527137/98868071-6bbe7a80-2424-11eb-9dbf-8a8a4b54bf30.png)

https://github.com/Azure/azure-sdk-for-cpp/blob/44cfd6c1dd5e243752ba81546e6f1df1fb05f1d5/sdk/storage/azure-storage-common/inc/azure/storage/common/storage_common.hpp#L11-L15

This is a low priority bug, because I think we probably should just remove that line of code anyway.

Contributor guide

Open the contributing guide

Research direction

Start with the APIView review link and compare the displayed InfiniteLeaseDuration entry with sdk/storage/azure-storage-common/inc/azure/storage/common/storage_common.hpp lines 11-15. Trace how the C++ APIView output associates a one-line templated method with the following constant; done means the unrelated template text no longer appears under that public API.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.