Home
last modified time | relevance | path

Searched defs:Toks (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp166 CachedTokens Toks; in ParseCXXInlineMethodDef() local
182 CachedTokens &Toks = LM->Toks; in ParseCXXInlineMethodDef() local
251 CachedTokens &Toks = MI->Toks; in ParseCXXNonStaticMemberInitializer() local
405 std::unique_ptr<CachedTokens> Toks = std::move(LM.DefaultArgs[I].Toks); in ParseLexedMethodDeclaration() local
488 if (CachedTokens *Toks = LM.ExceptionSpecTokens) { in ParseLexedMethodDeclaration() local
885 CachedTokens &Toks, in ConsumeAndStoreUntil()
972 bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) { in ConsumeAndStoreFunctionPrologue()
1185 bool Parser::ConsumeAndStoreConditional(CachedTokens &Toks) { in ConsumeAndStoreConditional()
1239 CachedTokens Toks; member in Parser::UnannotatedTentativeParsingAction
1249 bool Parser::ConsumeAndStoreInitializer(CachedTokens &Toks, in ConsumeAndStoreInitializer()
H A DParsePragma.cpp123 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
146 MutableArrayRef<Token> Toks( in HandlePragma() local
358 MutableArrayRef<Token> Toks( in HandlePragma() local
414 void markAsReinjectedForRelexing(llvm::MutableArrayRef<clang::Token> Toks) { in markAsReinjectedForRelexing()
1254 Token Toks[1]; in HandlePragmaMSInitSeg() local
1433 llvm::ArrayRef<Token> Toks = Info->Toks; in HandlePragmaLoopHint() local
2114 auto Toks = std::make_unique<Token[]>(1); in HandlePragma() local
2231 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
2274 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
2407 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in ParseAlignPragma() local
[all …]
H A DParser.cpp286 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil()
1370 CachedTokens Toks; in ParseFunctionDefinition() local
H A DParseOpenMP.cpp803 CachedTokens &Toks, SourceLocation Loc) { in ParseOMPDeclareSimdClauses()
1392 CachedTokens &Toks, in ParseOMPDeclareVariantClauses()
2069 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
2299 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
H A DParseStmtAsm.cpp50 ArrayRef<Token> Toks, ArrayRef<unsigned> Offsets) in ClangAsmParserCallback()
H A DParseTemplate.cpp1690 void Parser::LexTemplateFunctionForLateParsing(CachedTokens &Toks) { in LexTemplateFunctionForLateParsing()
H A DParseExprCXX.cpp2833 SmallVector<Token, 4> Toks; in ParseUnqualifiedIdOperator() local
4085 CachedTokens Toks; in ParseCXXAmbiguousParenExpression() local
H A DParseStmt.cpp2592 CachedTokens Toks; in trySkippingFunctionBody() local
H A DParseExpr.cpp3607 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>( in injectEmbedTokens() local
H A DParseObjc.cpp2721 CachedTokens &Toks = LM->Toks; in StashAwayMethodOrFunctionBodyTokens() local
H A DParseDeclCXX.cpp5080 Token Toks[1]; in ParseMicrosoftUuidAttributeArgs() local
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentParser.h72 void putBack(ArrayRef<Token> Toks) { in putBack()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp108 ArrayRef<FormatToken *> Toks(Lex.lex()); in process() local
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp152 auto Toks = std::make_unique<Token[]>(Tokens.size()); in revert() local
210 TokenCollector Toks = {*this, InMacroArgPreExpansion, {}, Tok}; in Handle_Pragma() local
361 TokenCollector Toks = {*this, InMacroArgPreExpansion, {}, Tok}; in HandleMicrosoft__pragma() local
1225 MutableArrayRef<Token> Toks( in HandleCaptured() local
H A DPreprocessor.cpp1090 void Preprocessor::CollectPpImportSuffix(SmallVectorImpl<Token> &Toks) { in CollectPpImportSuffix()
1172 auto EnterTokens = [this](ArrayRef<Token> Toks) { in LexAfterModuleImport()
H A DPPLexerChange.cpp180 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
H A DPPDirectives.cpp1387 auto Toks = std::make_unique<Token[]>(2); in HandleDirective() local
3887 ArrayRef<Token> Toks = Params.MaybeIfEmptyParam->Tokens; in HandleEmbedDirectiveImpl() local
3900 auto Toks = std::make_unique<Token[]>(TotalNumToks); in HandleEmbedDirectiveImpl() local
H A DPPMacroExpansion.cpp823 auto Toks = std::make_unique<Token[]>(1); in ReadMacroCallArgumentList() local
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp436 auto PrintToks = [&](llvm::ArrayRef<Token> Toks) { in EmbedDirective()
863 auto Toks = std::make_unique<Token[]>(1); in HandlePragma() local
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h346 ArrayRef<Token> Toks; member
H A DPreprocessor.h1694 void EnterTokenStream(std::unique_ptr<Token[]> Toks, unsigned NumToks, in EnterTokenStream()
1700 void EnterTokenStream(ArrayRef<Token> Toks, bool DisableMacroExpansion, in EnterTokenStream()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1371 CachedTokens Toks; member
1393 CachedTokens Toks; variable
1432 CachedTokens Toks; member
1455 std::unique_ptr<CachedTokens> Toks; member
1501 CachedTokens Toks; member
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentParser.cpp38 SmallVector<Token, 16> Toks; member in clang::comments::TextTokenRetokenizer
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp40 getTokensCovering(llvm::ArrayRef<syntax::Token> Toks, SourceRange R, in getTokensCovering()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h15103 CachedTokens Toks; member

12