[PR #2342] [MERGED] Convert some const to constexpr #2486

Closed
opened 2026-03-04 02:05:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2342
Author: @gaul
Created: 10/7/2023
Status: Merged
Merged: 11/14/2023
Merged by: @ggtakec

Base: masterHead: constexpr


📝 Commits (1)

  • 9d358df Convert some const to constexpr

📊 Changes

27 files changed (+95 additions, -106 deletions)

View changed files

📝 .clang-tidy (+1 -0)
📝 src/addhead.cpp (+1 -1)
📝 src/common.h (+2 -2)
📝 src/curl.cpp (+6 -9)
📝 src/curl.h (+3 -3)
📝 src/curl_util.cpp (+2 -2)
📝 src/fdcache.cpp (+2 -2)
📝 src/fdcache_entity.cpp (+1 -1)
📝 src/fdcache_page.cpp (+1 -1)
📝 src/fdcache_pseudofd.cpp (+1 -1)
📝 src/gnutls_auth.cpp (+2 -2)
📝 src/metaheader.cpp (+1 -1)
📝 src/nss_auth.cpp (+1 -1)
📝 src/openssl_auth.cpp (+1 -1)
📝 src/s3fs.cpp (+1 -1)
📝 src/s3fs_cred.cpp (+17 -19)
📝 src/s3fs_cred.h (+13 -13)
📝 src/s3fs_help.cpp (+2 -2)
📝 src/s3fs_logger.cpp (+3 -4)
📝 src/s3fs_logger.h (+8 -12)

...and 7 more files

📄 Description

This guarantees that the function or value will resolve at compile-time.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2342 **Author:** [@gaul](https://github.com/gaul) **Created:** 10/7/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `constexpr` --- ### 📝 Commits (1) - [`9d358df`](https://github.com/s3fs-fuse/s3fs-fuse/commit/9d358df54c21804746ba68dc7a7a1424e8ec6efd) Convert some const to constexpr ### 📊 Changes **27 files changed** (+95 additions, -106 deletions) <details> <summary>View changed files</summary> 📝 `.clang-tidy` (+1 -0) 📝 `src/addhead.cpp` (+1 -1) 📝 `src/common.h` (+2 -2) 📝 `src/curl.cpp` (+6 -9) 📝 `src/curl.h` (+3 -3) 📝 `src/curl_util.cpp` (+2 -2) 📝 `src/fdcache.cpp` (+2 -2) 📝 `src/fdcache_entity.cpp` (+1 -1) 📝 `src/fdcache_page.cpp` (+1 -1) 📝 `src/fdcache_pseudofd.cpp` (+1 -1) 📝 `src/gnutls_auth.cpp` (+2 -2) 📝 `src/metaheader.cpp` (+1 -1) 📝 `src/nss_auth.cpp` (+1 -1) 📝 `src/openssl_auth.cpp` (+1 -1) 📝 `src/s3fs.cpp` (+1 -1) 📝 `src/s3fs_cred.cpp` (+17 -19) 📝 `src/s3fs_cred.h` (+13 -13) 📝 `src/s3fs_help.cpp` (+2 -2) 📝 `src/s3fs_logger.cpp` (+3 -4) 📝 `src/s3fs_logger.h` (+8 -12) _...and 7 more files_ </details> ### 📄 Description This guarantees that the function or value will resolve at compile-time. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:05:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2486
No description provided.