OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CurTok
(Results
1 - 10
of
10
) sorted by null
/external/llvm/include/llvm/MC/
MCTargetAsmLexer.h
21
AsmToken
CurTok
;
59
return
CurTok
= LexToken();
64
return
CurTok
;
78
AsmToken::TokenKind getKind() const { return
CurTok
.getKind(); }
81
bool is(AsmToken::TokenKind K) const { return
CurTok
.is(K); }
84
bool isNot(AsmToken::TokenKind K) const { return
CurTok
.isNot(K); }
/external/clang/lib/Lex/
TokenLexer.cpp
142
const Token &
CurTok
= Tokens[i];
143
if (
CurTok
.is(tok::hash) ||
CurTok
.is(tok::hashat)) {
148
getExpansionLocForMacroDefLoc(
CurTok
.getLocation());
153
if (
CurTok
.is(tok::hash)) // Stringify
167
if (
CurTok
.hasLeadingSpace() || NextTokGetsSpace)
179
IdentifierInfo *II =
CurTok
.getIdentifierInfo();
183
ResultToks.push_back(
CurTok
);
237
updateLocForMacroArgTokens(
CurTok
.getLocation(),
246
CurTok
.hasLeadingSpace() |
[
all
...]
PPDirectives.cpp
[
all
...]
/external/llvm/examples/Kaleidoscope/Chapter2/
toy.cpp
142
///
CurTok
/getNextToken - Provide a simple token buffer.
CurTok
is the current
144
/// lexer and updates
CurTok
with its results.
145
static int
CurTok
;
147
return
CurTok
= gettok();
156
if (!isascii(
CurTok
))
160
int TokPrec = BinopPrecedence[
CurTok
];
180
if (
CurTok
!= '(') // Simple variable ref.
186
if (
CurTok
!= ')') {
192
if (
CurTok
== ')') break
[
all
...]
/external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp
154
///
CurTok
/getNextToken - Provide a simple token buffer.
CurTok
is the current
156
/// lexer and updates
CurTok
with its results.
157
static int
CurTok
;
159
return
CurTok
= gettok();
168
if (!isascii(
CurTok
))
172
int TokPrec = BinopPrecedence[
CurTok
];
192
if (
CurTok
!= '(') // Simple variable ref.
198
if (
CurTok
!= ')') {
204
if (
CurTok
== ')') break
[
all
...]
/external/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp
161
///
CurTok
/getNextToken - Provide a simple token buffer.
CurTok
is the current
163
/// lexer and updates
CurTok
with its results.
164
static int
CurTok
;
166
return
CurTok
= gettok();
175
if (!isascii(
CurTok
))
179
int TokPrec = BinopPrecedence[
CurTok
];
199
if (
CurTok
!= '(') // Simple variable ref.
205
if (
CurTok
!= ')') {
211
if (
CurTok
== ')') break
[
all
...]
/external/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h
119
AsmToken
CurTok
;
147
return
CurTok
= LexToken();
157
return
CurTok
;
171
AsmToken::TokenKind getKind() const { return
CurTok
.getKind(); }
174
bool is(AsmToken::TokenKind K) const { return
CurTok
.is(K); }
177
bool isNot(AsmToken::TokenKind K) const { return
CurTok
.isNot(K); }
/external/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp
190
///
CurTok
/getNextToken - Provide a simple token buffer.
CurTok
is the current
192
/// lexer and updates
CurTok
with its results.
193
static int
CurTok
;
195
return
CurTok
= gettok();
204
if (!isascii(
CurTok
))
208
int TokPrec = BinopPrecedence[
CurTok
];
228
if (
CurTok
!= '(') // Simple variable ref.
234
if (
CurTok
!= ')') {
240
if (
CurTok
== ')') break
[
all
...]
/external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp
218
///
CurTok
/getNextToken - Provide a simple token buffer.
CurTok
is the current
220
/// lexer and updates
CurTok
with its results.
221
static int
CurTok
;
223
return
CurTok
= gettok();
232
if (!isascii(
CurTok
))
236
int TokPrec = BinopPrecedence[
CurTok
];
256
if (
CurTok
!= '(') // Simple variable ref.
262
if (
CurTok
!= ')') {
268
if (
CurTok
== ')') break
[
all
...]
/external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp
236
///
CurTok
/getNextToken - Provide a simple token buffer.
CurTok
is the current
238
/// lexer and updates
CurTok
with its results.
239
static int
CurTok
;
241
return
CurTok
= gettok();
250
if (!isascii(
CurTok
))
254
int TokPrec = BinopPrecedence[
CurTok
];
274
if (
CurTok
!= '(') // Simple variable ref.
280
if (
CurTok
!= ')') {
286
if (
CurTok
== ')') break
[
all
...]
Completed in 133 milliseconds