Skip to content

Change all cl::opt<> in .cpp files to static #125983

@jurahul

Description

@jurahul

Most (if not all) of global variables for command line options need to be defined as static. This is currently not the case. To find candidates use:

git grep "cl::opt" *.cpp | grep -v static
git grep "cl::OptionCategory" *.cpp | grep -v static

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions