MLIR  20.0.0git
Classes | Functions
AsmParserState.cpp File Reference
#include "mlir/AsmParser/AsmParserState.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/IR/Types.h"
#include "mlir/IR/Value.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/iterator.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <cctype>
#include <memory>
#include <utility>

Go to the source code of this file.

Classes

struct  mlir::AsmParserState::Impl
 
struct  mlir::AsmParserState::Impl::PartialOpDef
 

Functions

static const char * lexLocStringTok (const char *curPtr)
 Lex a string token whose contents start at the given curPtr. More...
 

Function Documentation

◆ lexLocStringTok()

static const char* lexLocStringTok ( const char *  curPtr)
static

Lex a string token whose contents start at the given curPtr.

Returns the position at the end of the string, after a terminal or invalid character (e.g. " or \0).

Definition at line 171 of file AsmParserState.cpp.

References contains().

Referenced by mlir::AsmParserState::convertIdLocToRange().