sdesmalen added inline comments.
================ Comment at: clang/lib/Driver/ToolChains/Arch/AArch64.cpp:73 static bool DecodeAArch64Features(const Driver &D, StringRef text, std::vector<StringRef> &Features, llvm::AArch64::ArchKind ArchKind) { ---------------- does the order of the features matter? ```+sve,+nosve => disables sve +nosve,+sve => enables sve +nosve,+sve2 => enables sve and sve2``` ================ Comment at: clang/lib/Driver/ToolChains/Arch/AArch64.cpp:66 +typedef enum { Unset, True, False } OptState; +bool isUnset(OptState State) { return State == OptState::Unset; } ---------------- tschuett wrote: > This is almost an enum class. > ``` > enum class OptState { Unset, True, False }; > ``` You can use `Optional<bool>` to avoid adding a new enum class. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D113776/new/ https://reviews.llvm.org/D113776 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits