mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[flang] Remove unused function IsListDirectedFieldComplete
This patch fixes a warning: flang/runtime/edit-input.cpp:27:20: error: unused function 'IsListDirectedFieldComplete' [-Werror,-Wunused-function]
This commit is contained in:
parent
efca035c6d
commit
1645b5d321
@ -24,16 +24,6 @@ static inline bool IsCharValueSeparator(const DataEdit &edit, char32_t ch) {
|
||||
return ch == ' ' || ch == '\t' || ch == '/' || ch == comma;
|
||||
}
|
||||
|
||||
static inline bool IsListDirectedFieldComplete(
|
||||
IoStatementState &io, const DataEdit &edit) {
|
||||
std::size_t byteCount;
|
||||
if (auto ch{io.GetCurrentChar(byteCount)}) {
|
||||
return IsCharValueSeparator(edit, *ch);
|
||||
} else {
|
||||
return true; // end of record: ok
|
||||
}
|
||||
}
|
||||
|
||||
static bool CheckCompleteListDirectedField(
|
||||
IoStatementState &io, const DataEdit &edit) {
|
||||
if (edit.IsListDirected()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user