mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
omitNeedlessWords: sink helper enum into .cpp file
No functionality change.
This commit is contained in:
@@ -315,25 +315,6 @@ namespace swift {
|
||||
size_t findWord(StringRef string, StringRef word);
|
||||
} // end namespace camel_case
|
||||
|
||||
/// Describes the role that a particular name has within a
|
||||
/// signature, which can affect how we omit needless words.
|
||||
enum class NameRole {
|
||||
/// The base name of a function or method.
|
||||
BaseName,
|
||||
|
||||
/// The first parameter of a function or method.
|
||||
FirstParameter,
|
||||
|
||||
// Subsequent parameters in a function or method.
|
||||
SubsequentParameter,
|
||||
|
||||
// The name of a property.
|
||||
Property,
|
||||
|
||||
// A partial name; used internally.
|
||||
Partial,
|
||||
};
|
||||
|
||||
/// Flags used by \c OmissionTypeName to describe the input type.
|
||||
enum class OmissionTypeFlags {
|
||||
/// Whether the parameter with this type has a default argument.
|
||||
|
||||
Reference in New Issue
Block a user