HomeSort by relevance Sort by last modified time
    Searched refs:CurTok (Results 1 - 11 of 11) sorted by null

  /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/include/llvm/MC/MCParser/
MCAsmLexer.h 110 AsmToken CurTok;
139 return CurTok = LexToken();
149 return CurTok;
163 AsmToken::TokenKind getKind() const { return CurTok.getKind(); }
166 bool is(AsmToken::TokenKind K) const { return CurTok.is(K); }
169 bool isNot(AsmToken::TokenKind K) const { return CurTok.isNot(K); }
  /external/llvm/lib/MC/MCParser/
MCAsmLexer.cpp 15 MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()),
  /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/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/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...]
  /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/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/clang/lib/Rewrite/Frontend/
RewriteMacros.cpp 49 unsigned &CurTok, bool ReturnComment) {
50 assert(CurTok < RawTokens.size() && "Overran eof!");
53 if (!ReturnComment && RawTokens[CurTok].is(tok::comment))
54 ++CurTok;
56 return RawTokens[CurTok++];
  /external/clang/lib/Lex/
TokenLexer.cpp 191 const Token &CurTok = Tokens[i];
192 if (CurTok.is(tok::hash) || CurTok.is(tok::hashat)) {
197 getExpansionLocForMacroDefLoc(CurTok.getLocation());
202 if (CurTok.is(tok::hash)) // Stringify
216 if (CurTok.hasLeadingSpace() || NextTokGetsSpace)
228 IdentifierInfo *II = CurTok.getIdentifierInfo();
232 ResultToks.push_back(CurTok);
288 updateLocForMacroArgTokens(CurTok.getLocation(),
297 CurTok.hasLeadingSpace() |
    [all...]
PPDirectives.cpp     [all...]

Completed in 147 milliseconds