| /NextBSD/contrib/llvm/tools/clang/lib/Format/ |
| HD | Format.cpp | 643 assert(Tokens.empty()); in lex() 646 Tokens.push_back(getNextToken()); in lex() 648 if (Tokens.back()->NewlinesBefore > 0 || Tokens.back()->IsMultiline) in lex() 649 FirstInLineIndex = Tokens.size() - 1; in lex() 650 } while (Tokens.back()->Tok.isNot(tok::eof)); in lex() 651 return Tokens; in lex() 693 if (Tokens.size() < 3) in tryMergeLessLess() 697 if (Tokens.size() > 3) in tryMergeLessLess() 698 FourthTokenIsLess = (Tokens.end() - 4)[0]->is(tok::less); in tryMergeLessLess() 700 auto First = Tokens.end() - 3; in tryMergeLessLess() [all …]
|
| HD | TokenAnnotator.h | 42 : First(Line.Tokens.front().Tok), Level(Line.Level), in AnnotatedLine() 47 assert(!Line.Tokens.empty()); in AnnotatedLine() 54 for (std::list<UnwrappedLineNode>::const_iterator I = ++Line.Tokens.begin(), in AnnotatedLine() 55 E = Line.Tokens.end(); in AnnotatedLine() 85 template <typename... Ts> bool startsWith(Ts... Tokens) const { in startsWith() argument 86 return startsWith(First, Tokens...); in startsWith() 125 bool startsWith(FormatToken *Tok, A K1, Ts... Tokens) const { in startsWith() argument 126 return startsWith(Tok, K1) && startsWith(Tok->Next, Tokens...); in startsWith()
|
| HD | UnwrappedLineParser.cpp | 126 else if (!Parser.Line->Tokens.empty()) in ScopedLineState() 127 Parser.CurrentLines = &Parser.Line->Tokens.back().Children; in ScopedLineState() 135 if (!Parser.Line->Tokens.empty()) { in ~ScopedLineState() 138 assert(Parser.Line->Tokens.empty()); in ~ScopedLineState() 175 IndexedTokenSource(ArrayRef<FormatToken *> Tokens) in IndexedTokenSource() argument 176 : Tokens(Tokens), Position(-1) {} in IndexedTokenSource() 180 return Tokens[Position]; in getNextToken() 190 return Tokens[Position]; in setPosition() 196 ArrayRef<FormatToken *> Tokens; member in clang::format::__anon5fd511b60211::IndexedTokenSource 204 ArrayRef<FormatToken *> Tokens, in UnwrappedLineParser() argument [all …]
|
| HD | UnwrappedLineParser.h | 41 std::list<UnwrappedLineNode> Tokens; member 65 ArrayRef<FormatToken *> Tokens, 163 FormatTokenSource *Tokens; variable
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | TokenLexer.cpp | 41 Tokens = &*Macro->tokens_begin(); in Init() 51 assert(Tokens[0].getLocation().isValid()); in Init() 52 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init() 60 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init() 91 Tokens = TokArray; in Init() 115 delete [] Tokens; in destroy() 116 Tokens = nullptr; in destroy() 184 const Token &CurTok = Tokens[i]; in ExpandFunctionArguments() 185 if (i != 0 && !Tokens[i-1].is(tok::hashhash) && CurTok.hasLeadingSpace()) in ExpandFunctionArguments() 189 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); in ExpandFunctionArguments() [all …]
|
| HD | Preprocessor.cpp | 321 ArrayRef<TokenValue> Tokens) { in MacroDefinitionEquals() argument 322 return Tokens.size() == MI->getNumTokens() && in MacroDefinitionEquals() 323 std::equal(Tokens.begin(), Tokens.end(), MI->tokens_begin()); in MacroDefinitionEquals() 328 ArrayRef<TokenValue> Tokens) const { in getLastMacroWithSpelling() 339 if (!MacroDefinitionEquals(Def.getMacroInfo(), Tokens)) in getLastMacroWithSpelling()
|
| HD | PPMacroExpansion.cpp | 577 static bool CheckMatchedBrackets(const SmallVectorImpl<Token> &Tokens) { in CheckMatchedBrackets() argument 579 for (SmallVectorImpl<Token>::const_iterator I = Tokens.begin(), in CheckMatchedBrackets() 580 E = Tokens.end(); in CheckMatchedBrackets() 988 prevLexer->Tokens = MacroExpandedTokens.data() + tokIndex; in cacheMacroExpandedTokens()
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | IfConversion.cpp | 200 void AnalyzeBlock(MachineBasicBlock *MBB, std::vector<IfcvtToken*> &Tokens); 203 void AnalyzeBlocks(MachineFunction &MF, std::vector<IfcvtToken*> &Tokens); 311 std::vector<IfcvtToken*> Tokens; in INITIALIZE_PASS_DEPENDENCY() local 319 AnalyzeBlocks(MF, Tokens); in INITIALIZE_PASS_DEPENDENCY() 320 while (!Tokens.empty()) { in INITIALIZE_PASS_DEPENDENCY() 321 IfcvtToken *Token = Tokens.back(); in INITIALIZE_PASS_DEPENDENCY() 322 Tokens.pop_back(); in INITIALIZE_PASS_DEPENDENCY() 417 while (!Tokens.empty()) { in INITIALIZE_PASS_DEPENDENCY() 418 IfcvtToken *Token = Tokens.back(); in INITIALIZE_PASS_DEPENDENCY() 419 Tokens.pop_back(); in INITIALIZE_PASS_DEPENDENCY() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | TokenLexer.h | 51 const Token *Tokens; variable
|
| HD | Preprocessor.h | 911 ArrayRef<TokenValue> Tokens) const;
|
| /NextBSD/contrib/llvm/tools/clang/include/clang-c/ |
| HD | Index.h | 4166 CXToken **Tokens, unsigned *NumTokens); 4199 CXToken *Tokens, unsigned NumTokens, 4206 CXToken *Tokens, unsigned NumTokens);
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | CommentSema.cpp | 693 TokenValue Tokens[] = { in checkDeprecatedCommand() local 699 Tokens); in checkDeprecatedCommand()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | AnalysisBasedWarnings.cpp | 1122 TokenValue Tokens[] = { in DiagnoseSwitchLabelsFallthrough() local 1128 StringRef MacroName = PP.getLastMacroWithSpelling(L, Tokens); in DiagnoseSwitchLabelsFallthrough()
|
| /NextBSD/contrib/gdb/ |
| HD | FREEBSD-diffs | 764 /* Tokens for use by the asynchronous signal handlers for SIGINT */
|
| /NextBSD/contrib/binutils/binutils/doc/ |
| HD | binutils.texi | 614 @c FIXME Tokens but no commands???
|
| /NextBSD/contrib/gcc/doc/ |
| HD | cpp.texi | 462 token of any kind. Tokens do not have to be separated by white space,
|
| HD | tm.texi | 9410 @var{name} by calling @code{pragma_lex}. Tokens that are not read by the
|