-
Notifications
You must be signed in to change notification settings - Fork 494
[DOC] Update doc comments to pass -WDocumention check #3375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
4f5255a
Update all the doc comments and add WDocumention
zurex 5610dbc
Merge branch 'main' into fix/doc_comment_api
zurex 6402c14
Fix the doc comments in http_operation_curl.h
zurex a45b644
Merge remote changes
zurex 15c3fd6
Merge branch 'main' into fix/doc_comment_api
lalitb e3c83f5
Fix the doc comment issues in semconv
zurex 7a210ec
Add more details for AttributeValue warnning
zurex 78d6787
Fix the doc issues in url_atteibutes.h
zurex 6a91bc4
Merge branch 'main' into fix/doc_comment_api
ThomsonTan dad87ba
Merge branch 'main' into fix/doc_comment_api
zurex 210c863
Merge branch 'main' into fix/doc_comment_api
ThomsonTan e30863f
Fix the doc comments
zurex 531ae64
Fix the comments under api
zurex 0c0f2f7
Fix the format issue
zurex 00a4b13
Merge branch 'main' into fix/doc_comment_api
ThomsonTan 2e07267
Merge branch 'main' into fix/doc_comment_api
ThomsonTan 79cc519
Merge branch 'main' into fix/doc_comment_api
marcalff 9296f1f
Revert changes in semconv
zurex 6f41459
Merge branch 'fix/doc_comment_api' of https://github.com/zurex/opente…
zurex 32a7861
Remove bad checkin
zurex c682d1a
Fix the format
zurex 7c5e5c3
Remove doc check under maintainer mode
zurex 9ef149a
Fix eof
zurex 37c8ff8
Revert clang-format
zurex fbba434
Merge branch 'open-telemetry:main' into fix/doc_comment_api
zurex ae8ed3a
Address the review comments
zurex 54787c1
Update exporters/memory/include/opentelemetry/exporters/memory/in_mem…
zurex 0979723
Update sdk/include/opentelemetry/sdk/common/atomic_unique_ptr.h
zurex b4fcb74
Merge branch 'main' into fix/doc_comment_api
zurex d56e527
Merge branch 'main' into fix/doc_comment_api
zurex 5f26a2d
Merge branch 'main' into fix/doc_comment_api
ThomsonTan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,22 +81,24 @@ class HttpOperation | |
/** | ||
* Old-school memory allocator | ||
* | ||
* @param contents | ||
* @param size | ||
* @param nmemb | ||
* @param userp | ||
* @return | ||
* @param contents Pointer to the data received from the server. | ||
* @param size Size of each data element. | ||
* @param nmemb Number of data elements. | ||
* @param userp Pointer to the user-defined data structure for storing the received data. | ||
* @return The number of bytes actually taken care of. If this differs from size * nmemb, it | ||
* signals an error to libcurl. | ||
*/ | ||
static size_t WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp); | ||
|
||
/** | ||
* C++ STL std::vector allocator | ||
* | ||
* @param ptr | ||
* @param size | ||
* @param nmemb | ||
* @param data | ||
* @return | ||
* @param ptr Pointer to the data received from the server. | ||
* @param size Size of each data element. | ||
* @param nmemb Number of data elements. | ||
* @param userp Pointer to the user-defined data structure for storing the received data. | ||
* @return The number of bytes actually taken care of. If this differs from size * nmemb, it | ||
* signals an error to libcurl. | ||
*/ | ||
static size_t WriteVectorHeaderCallback(void *ptr, size_t size, size_t nmemb, void *userp); | ||
static size_t WriteVectorBodyCallback(void *ptr, size_t size, size_t nmemb, void *userp); | ||
|
@@ -138,11 +140,9 @@ class HttpOperation | |
* Create local CURL instance for url and body | ||
* @param method HTTP Method | ||
* @param url HTTP URL | ||
* @param callback | ||
* @param request_mode Sync or async | ||
* @param request Request Headers | ||
* @param body Request Body | ||
* @param raw_response Whether to parse the response | ||
* @param request_headers Request Headers | ||
* @param request_body Request Body | ||
* @param is_raw_response Whether to parse the response | ||
* @param http_conn_timeout HTTP connection timeout in seconds | ||
* @param reuse_connection Whether connection should be reused or closed | ||
* @param is_log_enabled To intercept some information from cURL request | ||
|
@@ -232,22 +232,16 @@ class HttpOperation | |
|
||
/** | ||
* Return a copy of response headers | ||
* | ||
* @return | ||
*/ | ||
Headers GetResponseHeaders(); | ||
|
||
/** | ||
* Return a copy of response body | ||
* | ||
* @return | ||
*/ | ||
inline const std::vector<uint8_t> &GetResponseBody() const noexcept { return response_body_; } | ||
|
||
/** | ||
* Return a raw copy of response headers+body | ||
* | ||
* @return | ||
*/ | ||
inline const std::vector<uint8_t> &GetRawResponse() const noexcept { return raw_response_; } | ||
|
||
|
@@ -265,7 +259,7 @@ class HttpOperation | |
* Perform curl message, this function only can be called in the polling thread and it can only | ||
* be called when got a CURLMSG_DONE. | ||
* | ||
* @param code | ||
* @param code CURLcode | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks incomplete ? |
||
*/ | ||
void PerformCurlMessage(CURLcode code); | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Technically, the
@param
should still be there.