PointCloudLibrary / PointCloudLibrary/pcl
Replace header guards of type `#ifndef` with a `#pragma once`
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
Replace #ifndef header guard with a #pragma once
Originally posted by @kunaltyagi in https://github.com/_render_node/MDIzOlB1bGxSZXF1ZXN0UmV2aWV3VGhyZWFkMjQ0Nzg4MDI0OnYy/pull_request_review_threads/discussion
Maybe there's a clang-tidy flag to do this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the project’s C++ headers that use #ifndef header guards and check whether the repository has a documented formatting or linting workflow. Investigate whether a clang-tidy flag can identify the guards consistently. Done means the applicable guards are replaced with #pragma once and the project’s relevant checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100