Searched refs:Tok (Results 76 - 87 of 87) sorted by relevance

1234

/external/clang/lib/Format/
H A DFormatToken.cpp28 switch (Tok.getKind()) {
/external/clang/unittests/AST/
H A DCommentLexer.cpp48 StringRef getCommandName(const Token &Tok) { argument
49 return Traits.getCommandInfo(Tok.getCommandID())->Name;
52 StringRef getVerbatimBlockName(const Token &Tok) { argument
53 return Traits.getCommandInfo(Tok.getVerbatimBlockID())->Name;
56 StringRef getVerbatimLineName(const Token &Tok) { argument
57 return Traits.getCommandInfo(Tok.getVerbatimLineID())->Name;
70 Token Tok; local
71 L.lex(Tok);
72 if (Tok.is(tok::eof))
74 Toks.push_back(Tok);
[all...]
H A DCommentParser.cpp72 Token Tok; local
73 L.lex(Tok);
74 if (Tok.is(tok::eof))
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp684 Token Tok; local
685 if (!PP.getRawToken(EndLoc, Tok, /*IgnoreWhiteSpace=*/true))
686 if (Tok.isLiteral() && Tok.getLength() > 2) {
687 if (const char *StringLit = Tok.getLiteralData())
1287 Token Tok; local
1289 bool Failed = PP.getRawToken(EndLoc, Tok, /*IgnoreWhiteSpace=*/true);
1291 EndLoc = Tok.getLocation();
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp292 Token Tok; local
294 lexer.LexFromRawLexer(Tok);
295 if (Tok.is(tok::raw_identifier) && Tok.getRawIdentifier() == attrName) {
296 Loc = Tok.getLocation();
299 } while (Tok.isNot(tok::r_paren));
H A DSemaExpr.cpp2958 ExprResult Sema::ActOnCharacterConstant(const Token &Tok, Scope *UDLScope) { argument
2961 StringRef ThisTok = PP.getSpelling(Tok, CharBuffer, &Invalid);
2965 CharLiteralParser Literal(ThisTok.begin(), ThisTok.end(), Tok.getLocation(),
2966 PP, Tok.getKind());
2991 Tok.getLocation());
2999 getUDSuffixLoc(*this, Tok.getLocation(), Literal.getUDSuffixOffset());
3008 Lit, Tok.getLocation());
3049 ExprResult Sema::ActOnNumericConstant(const Token &Tok, Scope *UDLScope) { argument
3052 if (Tok.getLength() == 1) {
3053 const char Val = PP.getSpellingOfSingleCharacterNumericConstant(Tok);
[all...]
/external/ppp/pppd/plugins/radius/etc/
H A Ddictionary.ascend262 VALUE Ascend-Token-Immediate Tok-Imm-No 0
263 VALUE Ascend-Token-Immediate Tok-Imm-Yes 1
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp202 std::string Tok = CStr.substr(start, wpos - start); local
203 if (Tok == "@earlyclobber") {
/external/clang/include/clang/Serialization/
H A DASTWriter.h537 void AddToken(const Token &Tok, RecordDataImpl &Record);
/external/clang/lib/Serialization/
H A DASTWriter.cpp2068 const Token &Tok = MI->getReplacementToken(TokNo); local
2069 AddToken(Tok, Record);
3881 void ASTWriter::AddToken(const Token &Tok, RecordDataImpl &Record) { argument
3882 AddSourceLocation(Tok.getLocation(), Record);
3883 Record.push_back(Tok.getLength());
3887 AddIdentifierRef(Tok.getIdentifierInfo(), Record);
3889 Record.push_back(Tok.getKind());
3891 Record.push_back(Tok.getFlags());
H A DASTReader.cpp1335 Token Tok; local
1336 Tok.startToken();
1337 Tok.setLocation(ReadSourceLocation(F, Record, Idx));
1338 Tok.setLength(Record[Idx++]);
1340 Tok.setIdentifierInfo(II);
1341 Tok.setKind((tok::TokenKind)Record[Idx++]);
1342 Tok.setFlag((Token::TokenFlags)Record[Idx++]);
1343 return Tok;
1448 Token Tok = ReadToken(F, Record, Idx); local
1449 Macro->AddTokenToBody(Tok);
[all...]
/external/clang/include/clang/Sema/
H A DSema.h3445 ExprResult ActOnNumericConstant(const Token &Tok, Scope *UDLScope = nullptr);
3446 ExprResult ActOnCharacterConstant(const Token &Tok,
3471 // Binary/Unary Operators. 'Tok' is the token for the operator.

Completed in 332 milliseconds

1234