[clang] [Multilib] Custom flags YAML parsing (PR #110657)
Victor Campos via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 07:42:23 PST 2024
================
@@ -101,6 +101,25 @@ class Multilib {
raw_ostream &operator<<(raw_ostream &OS, const Multilib &M);
+namespace custom_flag {
+struct CustomFlagDeclaration;
+using CustomFlagDeclarationPtr = std::shared_ptr<CustomFlagDeclaration>;
+
+struct CustomFlagValueDetail {
+ std::string Name;
+ std::optional<SmallVector<std::string>> ExtraBuildArgs;
+ CustomFlagDeclarationPtr Decl;
+};
+
+struct CustomFlagDeclaration {
+ std::string Name;
+ SmallVector<CustomFlagValueDetail> ValueList;
+ size_t DefaultValueIdx = ~0UL;
----------------
vhscampos wrote:
Fixed
https://github.com/llvm/llvm-project/pull/110657
More information about the cfe-commits
mailing list