@@ -44,7 +44,7 @@ class BaseTValue : public BaseValue
4444 friend std::ostream& operator <<( std::ostream& out, const BaseTValue& rhs)
4545 {
4646 if constexpr (std::is_same_v<T, bool >)
47- return out << std::boolalpha << rhs.value << std::noboolalpha; // NOLINT(misc -suspicious-semicolon)
47+ return out << std::boolalpha << rhs.value << std::noboolalpha; // NOLINT(bugprone -suspicious-semicolon)
4848
4949 return out << std::dec << rhs.value ;
5050 }
@@ -53,7 +53,7 @@ class BaseTValue : public BaseValue
5353template <typename T>
5454struct AliasedRequiredValue : BaseTValue<T>
5555{
56- AliasedRequiredValue<T>( const std::string& alias, const std::string& name, const std::string& desc) noexcept
56+ AliasedRequiredValue<T>( const std::string& alias, const std::string& name, const std::string& desc)
5757 : BaseTValue<T>( )
5858 {
5959 this ->options ().template add <popl::Value<T>, popl::Attribute::required>(alias, name, desc, T (), &this ->value );
@@ -63,7 +63,7 @@ struct AliasedRequiredValue : BaseTValue<T>
6363template <typename T>
6464struct AliasedValue : BaseTValue<T>
6565{
66- AliasedValue<T>( const std::string& alias, const std::string& name, const T& val, const std::string& desc) noexcept
66+ AliasedValue<T>( const std::string& alias, const std::string& name, const T& val, const std::string& desc)
6767 : BaseTValue<T>( val)
6868 {
6969 this ->options ().template add <popl::Value<T>>(alias, name, desc, val, &this ->value );
@@ -72,7 +72,7 @@ struct AliasedValue : BaseTValue<T>
7272
7373struct AliasedSwitch : BaseTValue<bool >
7474{
75- AliasedSwitch ( const std::string& alias, const std::string& name, const std::string& desc) noexcept
75+ AliasedSwitch ( const std::string& alias, const std::string& name, const std::string& desc)
7676 : BaseTValue<bool >( false )
7777 {
7878 options ().add <popl::Switch>(alias, name, desc, &this ->value );
@@ -82,22 +82,22 @@ struct AliasedSwitch : BaseTValue<bool>
8282template <typename T>
8383struct Value : AliasedValue<T>
8484{
85- Value ( const std::string& name, const T& val, const std::string& desc) noexcept
85+ Value ( const std::string& name, const T& val, const std::string& desc)
8686 : AliasedValue<T>( " " , name, val, desc)
8787 { }
8888};
8989
9090template <typename T>
9191struct RequiredValue : AliasedRequiredValue<T>
9292{
93- RequiredValue ( const std::string& name, const std::string& desc) noexcept
93+ RequiredValue ( const std::string& name, const std::string& desc)
9494 : AliasedRequiredValue<T>( " " , name, desc)
9595 { }
9696};
9797
9898struct Switch : AliasedSwitch
9999{
100- Switch ( const std::string& name, const std::string& desc) noexcept
100+ Switch ( const std::string& name, const std::string& desc)
101101 : AliasedSwitch( " " , name, desc)
102102 { }
103103};
0 commit comments