MLIR  20.0.0git
Functions
File.cpp File Reference
#include "mlir/ExecutionEngine/SparseTensor/File.h"
#include <cctype>
#include <cstring>

Go to the source code of this file.

Functions

static void toLower (char *token)
 Helper to convert C-style strings (i.e., '\0' terminated) to lower case. More...
 
static bool streq (const char *lhs, const char *rhs)
 Idiomatic name for checking string equality. More...
 
static bool strne (const char *lhs, const char *rhs)
 Idiomatic name for checking string inequality. More...
 

Function Documentation

◆ streq()

static bool streq ( const char *  lhs,
const char *  rhs 
)
inlinestatic

Idiomatic name for checking string equality.

Definition at line 109 of file File.cpp.

◆ strne()

static bool strne ( const char *  lhs,
const char *  rhs 
)
inlinestatic

Idiomatic name for checking string inequality.

Definition at line 114 of file File.cpp.

◆ toLower()

static void toLower ( char *  token)
inlinestatic

Helper to convert C-style strings (i.e., '\0' terminated) to lower case.

Definition at line 103 of file File.cpp.

Referenced by mlir::detail::Parser::parseOptionalDecimalInteger().