MLIR  19.0.0git
Macros | Functions
Lexer.cpp File Reference
#include "Lexer.h"
#include "Token.h"
#include "mlir/AsmParser/CodeComplete.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SourceMgr.h"
#include <cassert>
#include <cctype>
#include "TokenKinds.def"

Go to the source code of this file.

Macros

#define TOK_KEYWORD(SPELLING)   .Case(#SPELLING, Token::kw_##SPELLING)
 

Functions

static bool isPunct (char c)
 

Macro Definition Documentation

◆ TOK_KEYWORD

#define TOK_KEYWORD (   SPELLING)    .Case(#SPELLING, Token::kw_##SPELLING)

Function Documentation

◆ isPunct()

static bool isPunct ( char  c)
static

Definition at line 32 of file Lexer.cpp.