mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refactor: Rename remaining "black" identifiers
This commit is contained in:
@@ -139,7 +139,7 @@ namespace swift::misc
|
||||
* When a derived class and a base class both inherit from mixin::DataStreamByMetaClass,
|
||||
* the derived class uses this macro to disambiguate the inherited members.
|
||||
*/
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_DATASTREAM(DERIVED) \
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_DATASTREAM(DERIVED) \
|
||||
using ::swift::misc::mixin::DataStreamByMetaClass<DERIVED>::marshalToDataStream; \
|
||||
using ::swift::misc::mixin::DataStreamByMetaClass<DERIVED>::unmarshalFromDataStream;
|
||||
}
|
||||
|
||||
@@ -173,9 +173,9 @@ namespace swift::misc
|
||||
* When a derived class and a base class both inherit from mixin::DBusByTuple,
|
||||
* the derived class uses this macro to disambiguate the inherited members.
|
||||
*/
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_DBUS(DERIVED, ...) \
|
||||
using ::swift::misc::mixin::DBusByMetaClass<DERIVED BLACK_TRAILING_VA_ARGS(__VA_ARGS__)>::marshallToDbus; \
|
||||
using ::swift::misc::mixin::DBusByMetaClass<DERIVED BLACK_TRAILING_VA_ARGS(__VA_ARGS__)>::unmarshallFromDbus;
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_DBUS(DERIVED, ...) \
|
||||
using ::swift::misc::mixin::DBusByMetaClass<DERIVED SWIFT_TRAILING_VA_ARGS(__VA_ARGS__)>::marshallToDbus; \
|
||||
using ::swift::misc::mixin::DBusByMetaClass<DERIVED SWIFT_TRAILING_VA_ARGS(__VA_ARGS__)>::unmarshallFromDbus;
|
||||
// *INDENT-ON*
|
||||
|
||||
} // Mixin
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace swift::misc
|
||||
/*!
|
||||
* CRTP class template from which a derived class can inherit common methods dealing with hashing instances by metaclass.
|
||||
*
|
||||
* \tparam Derived Must be registered with BLACK_DECLARE_TUPLE_CONVERSION.
|
||||
* \tparam Derived Must be registered with SWIFT_DECLARE_TUPLE_CONVERSION.
|
||||
*/
|
||||
template <class Derived>
|
||||
class HashByMetaClass
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace swift::misc
|
||||
* the derived class uses this macro to disambiguate the inherited members.
|
||||
*/
|
||||
// *INDENT-OFF*
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_INDEX(DERIVED) \
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_INDEX(DERIVED) \
|
||||
using ::swift::misc::mixin::Index<DERIVED>::apply; \
|
||||
using ::swift::misc::mixin::Index<DERIVED>::setPropertyByIndex; \
|
||||
using ::swift::misc::mixin::Index<DERIVED>::propertyByIndex; \
|
||||
|
||||
@@ -267,7 +267,7 @@ namespace swift::misc
|
||||
* When a derived class and a base class both inherit from mixin::JsonByTuple,
|
||||
* the derived class uses this macro to disambiguate the inherited members.
|
||||
*/
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_JSON(DERIVED) \
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_JSON(DERIVED) \
|
||||
using ::swift::misc::mixin::JsonByMetaClass<DERIVED>::toJson; \
|
||||
using ::swift::misc::mixin::JsonByMetaClass<DERIVED>::convertFromJson;
|
||||
} // Mixin ns
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace swift::misc
|
||||
* When a derived class and a base class both inherit from mixin::MetaType,
|
||||
* the derived class uses this macro to disambiguate the inherited members.
|
||||
*/
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_METATYPE(DERIVED) \
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_METATYPE(DERIVED) \
|
||||
using ::swift::misc::mixin::MetaType<DERIVED>::registerMetadata; \
|
||||
using ::swift::misc::mixin::MetaType<DERIVED>::getMetaTypeId; \
|
||||
using ::swift::misc::mixin::MetaType<DERIVED>::getClassName; \
|
||||
|
||||
@@ -106,7 +106,7 @@ namespace swift::misc::mixin
|
||||
* When a derived class and a base class both inherit from mixin::String,
|
||||
* the derived class uses this macro to disambiguate the inherited members.
|
||||
*/
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_STRING(DERIVED) \
|
||||
#define SWIFT_MISC_DECLARE_USING_MIXIN_STRING(DERIVED) \
|
||||
using ::swift::misc::mixin::String<DERIVED>::toQString; \
|
||||
using ::swift::misc::mixin::String<DERIVED>::toStdString; \
|
||||
using ::swift::misc::mixin::String<DERIVED>::stringForStreaming;
|
||||
|
||||
Reference in New Issue
Block a user