Home
last modified time | relevance | path

Searched defs:Tok (Results 1 – 25 of 74) sorted by relevance

123

/external/clang/lib/Lex/
DTokenLexer.cpp26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init()
292 Token &Tok = ResultToks[i]; in ExpandFunctionArguments() local
336 Token &Tok = ResultToks[i]; in ExpandFunctionArguments() local
419 bool TokenLexer::Lex(Token &Tok) { in Lex()
523 bool TokenLexer::PasteTokens(Token &Tok) { in PasteTokens()
722 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok) { in HandleMicrosoftCommentPaste()
812 Token &Tok = *begin_tokens; in updateConsecutiveMacroArgTokens() local
836 Token &Tok = *begin_tokens; in updateLocForMacroArgTokens() local
DPragma.cpp80 Token &Tok) { in HandlePragma()
116 Token Tok; in HandlePragmaDirective() local
136 Token &Tok) in LexingFor_PragmaRAII()
165 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma()
307 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma()
379 Token Tok; in HandlePragmaPoison() local
508 IdentifierInfo *Preprocessor::ParsePragmaPushOrPopMacro(Token &Tok) { in ParsePragmaPushOrPopMacro()
621 void Preprocessor::HandlePragmaIncludeAlias(Token &Tok) { in HandlePragmaIncludeAlias()
783 Token Tok; in LexOnOffSwitch() local
861 Token Tok; in HandlePragma() local
[all …]
DMacroArgs.cpp173 Token &Tok = Result.back(); in getPreExpArgument() local
198 Token Tok; in StringifyArgument() local
210 const Token &Tok = *ArgToks; in StringifyArgument() local
DPPDirectives.cpp303 Token Tok; in SkipExcludedConditionalBlock() local
518 Token Tok; in PTHSkipExcludedConditionalBlock() local
997 void Preprocessor::HandleLineDirective(Token &Tok) { in HandleLineDirective()
1216 void Preprocessor::HandleUserDiagnosticDirective(Token &Tok, in HandleUserDiagnosticDirective()
1242 void Preprocessor::HandleIdentSCCSDirective(Token &Tok) { in HandleIdentSCCSDirective()
1276 void Preprocessor::HandleMacroPublicDirective(Token &Tok) { in HandleMacroPublicDirective()
1303 void Preprocessor::HandleMacroPrivateDirective(Token &Tok) { in HandleMacroPrivateDirective()
1445 Token *Tok = new Token[1]; in EnterAnnotationToken() local
1858 void Preprocessor::HandleMicrosoftImportDirective(Token &Tok) { in HandleMicrosoftImportDirective()
1918 bool Preprocessor::ReadMacroDefinitionArgList(MacroInfo *MI, Token &Tok) { in ReadMacroDefinitionArgList()
[all …]
DPPCaching.cpp97 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens()
DPreprocessor.cpp211 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken() argument
437 StringRef Preprocessor::getSpelling(const Token &Tok, in getSpelling()
459 void Preprocessor::CreateString(StringRef Str, Token &Tok, in CreateString()
855 bool Preprocessor::parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value) { in parseSimpleIntegerLiteral()
DPPMacroExpansion.cpp716 Token Tok; in ReadFunctionLikeMacroArgs() local
1268 static bool EvaluateHasIncludeCommon(Token &Tok, in EvaluateHasIncludeCommon()
1378 static bool EvaluateHasInclude(Token &Tok, IdentifierInfo *II, in EvaluateHasInclude()
1385 static bool EvaluateHasIncludeNext(Token &Tok, in EvaluateHasIncludeNext()
1415 static bool EvaluateBuildingModule(Token &Tok, in EvaluateBuildingModule()
1458 void Preprocessor::ExpandBuiltinMacro(Token &Tok) { in ExpandBuiltinMacro()
DTokenConcatenation.cpp125 static char GetFirstChar(Preprocessor &PP, const Token &Tok) { in GetFirstChar()
/external/clang/lib/Format/
DTokenAnnotator.cpp243 FormatToken *Tok = CurrentToken; in parseParens() local
341 FormatToken *Tok = CurrentToken; in parseSquare() local
432 FormatToken *Tok = CurrentToken; in consumeToken() local
751 bool isImportStatement(const FormatToken &Tok) { in isImportStatement()
1022 bool isStartOfName(const FormatToken &Tok) { in isStartOfName()
1059 bool rParenEndsCast(const FormatToken &Tok) { in rParenEndsCast()
1151 TokenType determineStarAmpUsage(const FormatToken &Tok, bool IsExpression, in determineStarAmpUsage()
1220 TokenType determinePlusMinusCaretUsage(const FormatToken &Tok) { in determinePlusMinusCaretUsage()
1240 TokenType determineIncrementUsage(const FormatToken &Tok) { in determineIncrementUsage()
1553 for (const FormatToken *Tok = Next->Next; Tok && Tok != Next->MatchingParen; in isFunctionDeclarationName() local
[all …]
DBreakableToken.h75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, in BreakableToken()
81 const FormatToken &Tok; variable
DTokenAnnotator.h127 bool startsWith(FormatToken *Tok, A K1) const { in startsWith()
134 bool startsWith(FormatToken *Tok, A K1, Ts... Tokens) const { in startsWith()
DContinuationIndenter.cpp31 static unsigned getLengthToMatchingParen(const FormatToken &Tok) { in getLengthToMatchingParen()
43 static bool startsSegmentOfBuilderTypeCall(const FormatToken &Tok) { in startsSegmentOfBuilderTypeCall()
300 const FormatToken *Tok = &Previous; in addTokenOnCurrentLine() local
935 for (const FormatToken *Tok = &Current; in moveStatePastScopeOpener() local
DUnwrappedLineFormatter.cpp356 FormatToken *Tok = I[1]->First; in tryMergeSimpleBlock() local
424 for (const FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) { in containsMustBreak() local
440 for (FormatToken *Tok = B.First; Tok; Tok = Tok->Next) { in join() local
453 static void markFinalized(FormatToken *Tok) { in markFinalized()
888 for (FormatToken *Tok = TheLine.First->Next; Tok; Tok = Tok->Next) in format() local
DFormat.cpp877 bool precedesOperand(FormatToken *Tok) { in precedesOperand()
1158 Token Tok = FormatTok->Tok; in getStashedToken() local
1362 void readRawToken(FormatToken &Tok) { in readRawToken()
1550 for (FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) { in nonPPLineAffected() local
1605 bool affectsLeadingEmptyLines(const FormatToken &Tok) { in affectsLeadingEmptyLines()
1633 for (FormatToken *Tok = Line->First->Next; Tok; Tok = Tok->Next) { in hasCpp03IncompatibleFormat() local
1650 for (FormatToken *Tok = Line->First; Tok && Tok->Next; Tok = Tok->Next) { in countVariableAlignments() local
1673 FormatToken *Tok = AnnotatedLines[i]->First->Next; in deriveLocalStyle() local
DUnwrappedLineParser.cpp317 FormatToken *Tok = FormatTok; in calculateBraceTypes() local
626 static bool tokenCanStartNewLine(const clang::Token &Tok) { in tokenCanStartNewLine()
1578 FormatToken *Tok = Tokens->getNextToken(); in parseJavaEnumBody() local
1912 void UnwrappedLineParser::pushToken(FormatToken *Tok) { in pushToken()
DWhitespaceManager.cpp50 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, in replaceWhitespace()
63 void WhitespaceManager::addUntouchableToken(const FormatToken &Tok, in addUntouchableToken()
75 const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, in replaceWhitespaceInToken()
/external/clang/lib/Parse/
DParsePragma.cpp888 Token Tok; in HandlePragma() local
949 Token Tok; in HandlePragma() local
1066 Token Tok; in HandlePragma() local
1109 Token Tok; in ParseAlignPragma() local
1196 Token Tok; in HandlePragma() local
1276 Token Tok; in HandlePragma() local
1339 Token Tok; in HandlePragma() local
1383 Token &Tok) { in HandlePragma()
1405 Token &Tok) { in HandlePragma()
1486 Token Tok; in HandlePragma() local
[all …]
/external/clang/include/clang/AST/
DCommentBriefParser.h36 Token Tok; variable
DCommentParser.h56 Token Tok; variable
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp158 const Token &Tok) { in AvoidConcat()
504 bool PrintPPOutputPPCallbacks::HandleFirstTokOnLine(Token &Tok) { in HandleFirstTokOnLine()
607 static void PrintPreprocessedTokens(Preprocessor &PP, Token &Tok, in PrintPreprocessedTokens()
694 Token Tok; in DoPrintMacros() local
767 Token Tok; in DoPrintPreprocessedInput() local
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp371 Token Tok; in SyntaxHighlight() local
457 Token Tok; in HighlightMacros() local
510 Token Tok; in HighlightMacros() local
DTokenRewriter.cpp87 Token Tok; in AddTokenBefore() local
/external/clang/include/clang/Lex/
DLexer.h526 inline char getAndAdvanceChar(const char *&Ptr, Token &Tok) { in getAndAdvanceChar()
541 const char *ConsumeChar(const char *Ptr, unsigned Size, Token &Tok) { in ConsumeChar()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp904 const AsmToken &Tok = Parser.getTok(); in ParseRegister() local
1173 const AsmToken &Tok = Parser.getTok(); in ParseIntelExpression() local
1295 const AsmToken &Tok = Parser.getTok(); in ParseIntelBracExpression() local
1378 const AsmToken &Tok = Parser.getTok(); in ParseIntelIdentifier() local
1420 const AsmToken &Tok = Parser.getTok(); // Eat colon. in ParseIntelSegmentOverride() local
1469 const AsmToken &Tok = Parser.getTok(); in ParseRoundingModeOp() local
1507 const AsmToken &Tok = Parser.getTok(); in ParseIntelMemOperand() local
1567 const AsmToken &Tok = Parser.getTok(); in ParseIntelDotOperator() local
1611 const AsmToken &Tok = Parser.getTok(); in ParseIntelOffsetOfOperator() local
1649 const AsmToken &Tok = Parser.getTok(); in ParseIntelOperator() local
[all …]
/external/clang/lib/AST/
DCommentParser.cpp60 const Token &Tok = Toks[Pos.CurToken]; in setupBuffer() local
154 bool lexWord(Token &Tok) { in lexWord()
187 bool lexDelimitedSeq(Token &Tok, char OpenDelim, char CloseDelim) { in lexDelimitedSeq()

123