google / google/addlicense

Using `//` comments for C++ header files

Open
#109 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
886
Forks
194
PR merge metrics
No merged PRs in 30d

Description

Hello :)

Currently `.h` files use `/*` style comments, and I'd like to contribute a way to use `//` comments instead. I presume just changing the default is not an option, so I'd like to ask what would be the most principled solution. A command line flag?

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by examining addlicense's command-line entry point and its handling of .h files, then determine how comment style is currently selected. Done should be an agreed, documented mechanism for using // comments without changing the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, go
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.