mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Move more of the Clang importer's camelCase logic to the new utilities.
Swift SVN r15843
This commit is contained in:
@@ -145,6 +145,12 @@ namespace swift {
|
||||
friend bool operator!=(const WordIterator &x, const WordIterator &y) {
|
||||
return !(x == y);
|
||||
}
|
||||
|
||||
/// Retrieve the position of this iterator within the underlying
|
||||
/// string.
|
||||
unsigned getPosition() const {
|
||||
return Position;
|
||||
}
|
||||
};
|
||||
|
||||
/// Find the first camelCase word in the given string.
|
||||
|
||||
Reference in New Issue
Block a user