[PR #2537] [MERGED] Enable cppcoreguidelines-pro-type-const-cast #2602

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2537
Author: @gaul
Created: 9/30/2024
Status: Merged
Merged: 10/6/2024
Merged by: @ggtakec

Base: masterHead: clang-tidy/const-cast


📝 Commits (1)

  • ab48543 Enable cppcoreguidelines-pro-type-const-cast

📊 Changes

5 files changed (+85 additions, -79 deletions)

View changed files

📝 .clang-tidy (+0 -1)
📝 src/s3fs.cpp (+51 -52)
📝 src/s3fs_cred.cpp (+2 -2)
📝 src/s3fs_cred.h (+1 -1)
📝 src/s3fs_xml.cpp (+31 -23)

📄 Description

This fixes dangerous uses of const_cast.


🔄 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/2537 **Author:** [@gaul](https://github.com/gaul) **Created:** 9/30/2024 **Status:** ✅ Merged **Merged:** 10/6/2024 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `clang-tidy/const-cast` --- ### 📝 Commits (1) - [`ab48543`](https://github.com/s3fs-fuse/s3fs-fuse/commit/ab48543f71d965623c2f4f1d7151be7437ad0b6e) Enable cppcoreguidelines-pro-type-const-cast ### 📊 Changes **5 files changed** (+85 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `.clang-tidy` (+0 -1) 📝 `src/s3fs.cpp` (+51 -52) 📝 `src/s3fs_cred.cpp` (+2 -2) 📝 `src/s3fs_cred.h` (+1 -1) 📝 `src/s3fs_xml.cpp` (+31 -23) </details> ### 📄 Description This fixes dangerous uses of `const_cast`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:06:22 +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#2602
No description provided.