Unverified Commit 7d913c5e authored by David Stone's avatar David Stone Committed by GitHub
Browse files

[clang][Modules] Make `Module::Requirement` a struct (NFC) (#67900)



`Module::Requirement` was defined as a `std::pair<std::string, bool>`.
This required a comment to explain what the data members mean and makes
the usage harder to understand. Replace this with a struct with two
members, `FeatureName` and `RequiredState`.

---------

Co-authored-by: default avatarcor3ntin <corentinjabot@gmail.com>
parent 9154a324
Pipeline #2064 failed with stages
in 0 seconds
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment