[all-commits] [llvm/llvm-project] 7d913c: [clang][Modules] Make `Module::Requirement` a stru...
David Stone via All-commits
all-commits at lists.llvm.org
Sun May 5 00:45:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d913c5ea9fd0dd455fe60364a8075aa0924d6b7
https://github.com/llvm/llvm-project/commit/7d913c5ea9fd0dd455fe60364a8075aa0924d6b7
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/include/clang/Basic/Module.h
M clang/lib/Basic/Module.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[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: cor3ntin <corentinjabot at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list