We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095f6fb commit 2a77441Copy full SHA for 2a77441
flang/lib/Parser/token-sequence.cpp
@@ -160,7 +160,8 @@ TokenSequence &TokenSequence::ToLowerCase() {
160
std::size_t atToken{0};
161
for (std::size_t j{0}; j < chars;) {
162
std::size_t nextStart{atToken + 1 < tokens ? start_[++atToken] : chars};
163
- char *p{&char_[j]}, *limit{&char_[nextStart]};
+ char *p{&char_[j]};
164
+ char const *limit{char_.data() + nextStart};
165
j = nextStart;
166
if (IsDecimalDigit(*p)) {
167
while (p < limit && IsDecimalDigit(*p)) {
0 commit comments