Skip to content

Move InputType::Archive and DynObj to SearchDirs::SearchInputType#958

Open
parth-07 wants to merge 1 commit intoqualcomm:mainfrom
parth-07:SearchInputType
Open

Move InputType::Archive and DynObj to SearchDirs::SearchInputType#958
parth-07 wants to merge 1 commit intoqualcomm:mainfrom
parth-07:SearchInputType

Conversation

@parth-07
Copy link
Contributor

This commit moves InputType::Archive and InputType::DynObj to a newly created enum SearchDirs::SearchInputType. Input::InputType::Archive and Input::InputType::DynObj were very misleading because we create no inputs of these types. Additionally, one of the other InputType enum value is Namespec, making it theoretically possible for an input to be both Namespec and Archive/DynObj. This is wrong because Type-like enum values should be disjoint.

This commit moves InputType::Archive and InputType::DynObj to a newly
created enum SearchDirs::SearchInputType. Input::InputType::Archive and
Input::InputType::DynObj were very misleading because we create no
inputs of these types. Additionally, one of the other InputType enum
value is Namespec, making it theoretically possible for an input to be
both Namespec and Archive/DynObj. This is wrong because Type-like enum
values should be disjoint.

Signed-off-by: Parth Arora <partaror@qti.qualcomm.com>
@quic-seaswara
Copy link
Contributor

Is this NFC ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants