Searched refs:Token (Results 101 - 125 of 198) sorted by relevance

12345678

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp826 SmallString<128> Token; local
829 if (Token.empty()) {
845 Token.push_back(Src[I]);
856 Token.push_back(Src[I]);
866 if (!Token.empty())
867 NewArgv.push_back(Saver.save(StringRef(Token)).data());
868 Token.clear();
873 Token.push_back(C);
877 if (!Token.empty())
878 NewArgv.push_back(Saver.save(StringRef(Token))
901 parseBackslash(StringRef Src, size_t I, SmallString<128> &Token) argument
925 SmallString<128> Token; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp21 void Token::dump(const Lexer &L, const SourceManager &SM) const {
22 llvm::errs() << "comments::Token Kind=" << Kind << " ";
279 void Lexer::formTokenWithChars(Token &Result, const char *TokEnd,
292 void Lexer::lexCommentText(Token &T) {
463 void Lexer::setupAndLexVerbatimBlock(Token &T,
488 void Lexer::lexVerbatimBlockFirstLine(Token &T) {
533 void Lexer::lexVerbatimBlockBody(Token &T) {
548 void Lexer::setupAndLexVerbatimLine(Token &T, const char *TextBegin,
557 void Lexer::lexVerbatimLineText(Token &T) {
569 void Lexer::lexHTMLCharacterReference(Token
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp250 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end();
251 ++Token) {
252 StringRef TokenRef(*Token);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp44 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName,
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp616 const TokenInfo Token = Tokenizer->consumeNextToken(); local
617 Error->addError(Token.Range, Error->ET_ParserInvalidToken)
618 << (Token.Kind == TokenInfo::TK_NewLine ? "NewLine" : Token.Text);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp59 const Token &Tok = P.getCurToken();
H A DParseExprCXX.cpp44 bool Parser::areTokensAdjacent(const Token &First, const Token &Second) {
52 static void FixDigraph(Parser &P, Preprocessor &PP, Token &DigraphToken,
53 Token &ColonToken, tok::TokenKind Kind, bool AtDigraph) {
81 void Parser::CheckForTemplateAndDigraph(Token &Next, ParsedType ObjectType,
87 Token SecondToken = GetLookAheadToken(2);
389 Token Next = NextToken();
412 Token Identifier = Tok; // Stash away the identifier.
428 const Token &Next2 = GetLookAheadToken(2);
434 Token ColonColo
[all...]
H A DParseExpr.cpp413 Token OpToken = Tok;
677 CastExpressionIdValidator(Token Next, bool AllowTypes, bool AllowNonTypes)
709 Token NextToken;
994 Token Replacement;
1018 const Token &Next = NextToken();
1170 const Token& Next = NextToken();
1207 Token Replacement;
1289 Token SavedTok = Tok;
1524 Token Next = NextToken();
2105 Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token
[all...]
H A DParseTemplate.cpp68 "Token does not start a template declaration.");
559 Token Next = NextToken();
664 const Token &T = Tok.is(tok::annot_cxxscope) ? NextToken() : Tok;
864 const Token &Next = Tok.is(tok::kw_struct) ? NextToken() : Tok;
1089 Token Next = NextToken();
1143 Token Greater = Tok;
1419 static bool isEndOfTemplateArgument(Token Tok) {
1819 const AngleBracketTracker::Loc &LAngle, const Token &OpToken) {
H A DParseTentative.cpp835 #define OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemOnly) \
836 case tok::Token:
1179 TentativeParseCCC(const Token &Next) {
1335 const Token &Next = NextToken();
1399 const Token &Next = NextToken();
1877 const Token &Next = NextToken();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.h233 StringRef Source, MIToken &Token,
/freebsd-11-stable/contrib/amd/fsinfo/
H A Dnull_gram.c526 #define YYBACKUP(Token, Value) \
530 yychar = (Token); \
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h11 /// around Token with additional information related to formatting.
129 /// A wrapper around a \c Token storing information about the
134 /// The \c Token.
135 Token Tok;
137 /// The number of newlines immediately before the \c Token.
144 /// Token.
147 /// The range of the whitespace immediately preceding the \c Token.
594 virtual void precomputeFormattingInfos(const FormatToken *Token);
617 virtual void CommaFound(const FormatToken *Token) {} argument
630 void precomputeFormattingInfos(const FormatToken *Token) overrid
[all...]
H A DUnwrappedLineParser.cpp84 Token(nullptr), PreviousToken(nullptr) {
94 ResetToken = Token;
103 PreviousToken = Token;
104 Token = PreviousTokenSource->getNextToken();
107 return Token;
114 Token = PreviousTokenSource->setPosition(Position);
115 return Token;
120 return Token && Token->HasUnescapedNewline &&
121 !continuesLineComment(*Token, PreviousToke
132 FormatToken *Token; member in class:clang::format::__anon492::ScopedMacroState
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dada-exp.c941 #define YYBACKUP(Token, Value) \
945 yychar = (Token); \
1000 # define YYDSYMPRINTF(Title, Token, Value, Location) \
1006 Token, Value); \
1074 # define YYDSYMPRINTF(Title, Token, Value, Location)
H A Dm2-exp.c876 #define YYBACKUP(Token, Value) \
880 yychar = (Token); \
935 # define YYDSYMPRINTF(Title, Token, Value, Location) \
941 Token, Value); \
1009 # define YYDSYMPRINTF(Title, Token, Value, Location)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp750 Token RawTok;
762 Token Tok;
777 Token Tok;
936 llvm::SmallVector<minimize_source_to_dependency_directives::Token, 32> Toks;
950 Token Tok;
H A DModuleDependencyCollector.cpp48 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp116 StringRef Token, Remaining;
118 std::tie(Token, Remaining) = parseSymbol(Expr);
120 std::tie(Token, Remaining) = parseNumberString(Expr);
125 Token = Expr.substr(0, TokLen);
127 return Token;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp815 using ExpArgTokens = llvm::SmallVector<Token, 2>;
837 Token PrevTok, PrevPrevTok;
847 void printToken(const Token &Tok);
976 Token T = *It;
1067 Token TheTok;
1245 void TokenPrinter::printToken(const Token &Tok) {
/freebsd-11-stable/crypto/heimdal/lib/com_err/
H A Dparse.c591 #define YYBACKUP(Token, Value) \
595 yychar = (Token); \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp80 Token, enumerator in enum:__anon2091::AMDGPUOperand::KindTy
217 if (Kind == Token)
886 case Token:
912 auto Res = std::make_unique<AMDGPUOperand>(Token, AsmParser);
1030 /// \param VGPRRange [in] Token range, used for VGPR diagnostics.
1032 /// \param SGPRRange [in] Token range, used for SGPR diagnostics.
1082 bool isRegister(const AsmToken &Token, const AsmToken &NextToken) const;
1266 bool isOperandModifier(const AsmToken &Token, const AsmToken &NextToken) const;
1267 bool isRegOrOperandModifier(const AsmToken &Token, const AsmToken &NextToken) const;
1268 bool isNamedOperandModifier(const AsmToken &Token, cons
2074 isRegister(const AsmToken &Token, const AsmToken &NextToken) const argument
2437 isNamedOperandModifier(const AsmToken &Token, const AsmToken &NextToken) const argument
2446 isOpcodeModifierWithVal(const AsmToken &Token, const AsmToken &NextToken) const argument
2451 isOperandModifier(const AsmToken &Token, const AsmToken &NextToken) const argument
2456 isRegOrOperandModifier(const AsmToken &Token, const AsmToken &NextToken) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h1 //===--- Token.h - Token interface ------------------------------*- C++ -*-===//
9 // This file defines the Token interface.
25 /// Token - This structure provides full information about a lexed token.
34 class Token { class in namespace:clang
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordReader.h18 #include "clang/Lex/Token.h"
321 Token readToken() {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp22 #include "clang/Lex/Token.h"
1458 StringLiteralParser(ArrayRef<Token> StringToks,
1467 void StringLiteralParser::init(ArrayRef<Token> StringToks){
1763 bool StringLiteralParser::CopyStringFragment(const Token &Tok,
1815 /// specified byte of the string data represented by Token. This handles
1817 unsigned StringLiteralParser::getOffsetOfStringByte(const Token &Tok,

Completed in 195 milliseconds

12345678