PointCloudLibrary / PointCloudLibrary/pcl

Replace header guards of type `#ifndef` with a `#pragma once`

Open
#3,774 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

effort: low good first issue help wanted kind: todo
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.