diff options
author | Tobias Markmann <tm@ayena.de> | 2017-06-26 03:58:09 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-06-26 09:13:57 (GMT) |
commit | 38b577abe56c76805e2f2bebb5194bee28359145 (patch) | |
tree | cb05fdfd725936c1fbe42e9245220befeadc8f6f /.circleci | |
parent | 96528818b201c5a250701b58bb9c4d11048b237e (diff) | |
download | swift-38b577abe56c76805e2f2bebb5194bee28359145.zip swift-38b577abe56c76805e2f2bebb5194bee28359145.tar.bz2 |
Use size_t instead of int in SpellParser::PositionPair
Use of int required a lot of casts when using the indices
with std::string methods. Furthermore code used -1 as
error code, which should have used std::optional for invalid
PoistionPair instnaces.
Test-Information:
All tests pass on Debian Stretch with clang-3.9.
Change-Id: Ic5c44ed606deb58b6123d654f25fc50f047dfbc8
Diffstat (limited to '.circleci')
0 files changed, 0 insertions, 0 deletions