mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The primary goal is to fix this warning: $PROJECT_PATH/swift-project/swift/lib/Markup/LineList.cpp:46:10: warning: variable 'Col' set but not used [-Wunused-but-set-variable] size_t Col = 0; I also rewrote the implementation to use StringRef functionality instead of manually walking over the characters.