Move more of the Clang importer's camelCase logic to the new utilities.

Swift SVN r15843
This commit is contained in:
Doug Gregor
2014-04-02 23:06:22 +00:00
parent 47bf136af5
commit 12d0eeb324
2 changed files with 26 additions and 45 deletions

View File

@@ -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.