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 915de1a commit 273aecdCopy full SHA for 273aecd
flang-rt/include/flang-rt/runtime/io-stmt.h
@@ -20,6 +20,7 @@
20
#include "flang/Common/optional.h"
21
#include "flang/Common/reference-wrapper.h"
22
#include "flang/Common/visit.h"
23
+#include "flang/Runtime/freestanding-tools.h"
24
#include "flang/Runtime/io-api.h"
25
#include <flang/Common/variant.h>
26
#include <functional>
@@ -180,8 +181,8 @@ class IoStatementState {
180
181
182
private:
183
RT_API_ATTRS void CheckForAsterisk() {
- hasAsterisk_ =
184
- at_ && at_ < limit_ && std::memchr(at_, '*', limit_ - at_) != nullptr;
+ hasAsterisk_ = at_ && at_ < limit_ &&
185
+ runtime::memchr(at_, '*', limit_ - at_) != nullptr;
186
}
187
188
ConnectionState &connection_;
0 commit comments