/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 26 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
|
D | Pragma.cpp | 80 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 …]
|
D | MacroArgs.cpp | 173 Token &Tok = Result.back(); in getPreExpArgument() local 198 Token Tok; in StringifyArgument() local 210 const Token &Tok = *ArgToks; in StringifyArgument() local
|
D | PPDirectives.cpp | 303 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 …]
|
D | PPCaching.cpp | 97 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens()
|
D | Preprocessor.cpp | 211 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()
|
D | PPMacroExpansion.cpp | 716 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()
|
D | TokenConcatenation.cpp | 125 static char GetFirstChar(Preprocessor &PP, const Token &Tok) { in GetFirstChar()
|
/external/clang/lib/Format/ |
D | TokenAnnotator.cpp | 243 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 …]
|
D | BreakableToken.h | 75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, in BreakableToken() 81 const FormatToken &Tok; variable
|
D | TokenAnnotator.h | 127 bool startsWith(FormatToken *Tok, A K1) const { in startsWith() 134 bool startsWith(FormatToken *Tok, A K1, Ts... Tokens) const { in startsWith()
|
D | ContinuationIndenter.cpp | 31 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
|
D | UnwrappedLineFormatter.cpp | 356 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
|
D | Format.cpp | 877 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
|
D | UnwrappedLineParser.cpp | 317 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()
|
D | WhitespaceManager.cpp | 50 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/ |
D | ParsePragma.cpp | 888 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/ |
D | CommentBriefParser.h | 36 Token Tok; variable
|
D | CommentParser.h | 56 Token Tok; variable
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 158 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/ |
D | HTMLRewrite.cpp | 371 Token Tok; in SyntaxHighlight() local 457 Token Tok; in HighlightMacros() local 510 Token Tok; in HighlightMacros() local
|
D | TokenRewriter.cpp | 87 Token Tok; in AddTokenBefore() local
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 526 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/ |
D | X86AsmParser.cpp | 904 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/ |
D | CommentParser.cpp | 60 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()
|