MLIR  16.0.0git
Macros | Functions
Lexer.cpp File Reference
#include "Lexer.h"
#include "mlir/AsmParser/CodeComplete.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/MLIRContext.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/SourceMgr.h"
#include "TokenKinds.def"
+ Include dependency graph for Lexer.cpp:

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 26 of file Lexer.cpp.