Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/unittests/AST/
DCommentLexer.cpp61 std::vector<Token> &Toks) { in lexString()
82 std::vector<Token> Toks; in TEST_F() local
95 std::vector<Token> Toks; in TEST_F() local
111 std::vector<Token> Toks; in TEST_F() local
130 std::vector<Token> Toks; in TEST_F() local
150 std::vector<Token> Toks; in TEST_F() local
173 std::vector<Token> Toks; in TEST_F() local
211 std::vector<Token> Toks; in TEST_F() local
252 std::vector<Token> Toks; in TEST_F() local
269 std::vector<Token> Toks; in TEST_F() local
[all …]
/external/clang/unittests/AST/
DCommentLexer.cpp62 std::vector<Token> &Toks) { in lexString()
83 std::vector<Token> Toks; in TEST_F() local
96 std::vector<Token> Toks; in TEST_F() local
112 std::vector<Token> Toks; in TEST_F() local
131 std::vector<Token> Toks; in TEST_F() local
151 std::vector<Token> Toks; in TEST_F() local
174 std::vector<Token> Toks; in TEST_F() local
212 std::vector<Token> Toks; in TEST_F() local
253 std::vector<Token> Toks; in TEST_F() local
270 std::vector<Token> Toks; in TEST_F() local
[all …]
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp123 CachedTokens Toks; in ParseCXXInlineMethodDef() local
140 CachedTokens &Toks = LM->Toks; in ParseCXXInlineMethodDef() local
204 CachedTokens &Toks = MI->Toks; in ParseCXXNonStaticMemberInitializer() local
322 if (CachedTokens *Toks = LM.DefaultArgs[I].Toks) { in ParseLexedMethodDeclaration() local
397 if (CachedTokens *Toks = LM.ExceptionSpecTokens) { in ParseLexedMethodDeclaration() local
670 CachedTokens &Toks, in ConsumeAndStoreUntil()
769 bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) { in ConsumeAndStoreFunctionPrologue()
941 bool Parser::ConsumeAndStoreConditional(CachedTokens &Toks) { in ConsumeAndStoreConditional()
994 CachedTokens Toks; member in Parser::UnannotatedTentativeParsingAction
1004 bool Parser::ConsumeAndStoreInitializer(CachedTokens &Toks, in ConsumeAndStoreInitializer()
DParsePragma.cpp734 Token Toks[1]; in HandlePragmaMSInitSeg() local
776 ArrayRef<Token> Toks; member
810 llvm::ArrayRef<Token> Toks = Info->Toks; in HandlePragmaLoopHint() local
953 auto Toks = llvm::make_unique<Token[]>(1); in HandlePragma() local
1066 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
1108 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
1176 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in ParseAlignPragma() local
1266 MutableArrayRef<Token> Toks( in HandlePragma() local
1316 MutableArrayRef<Token> Toks( in HandlePragma() local
1327 MutableArrayRef<Token> Toks( in HandlePragma() local
[all …]
DParseOpenMP.cpp495 CachedTokens &Toks, SourceLocation Loc) { in ParseOMPDeclareSimdClauses()
596 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
DParser.cpp252 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil()
1053 CachedTokens Toks; in ParseFunctionDefinition() local
/external/llvm-project/clang/lib/Parse/
DParseCXXInlineMethods.cpp120 CachedTokens Toks; in ParseCXXInlineMethodDef() local
136 CachedTokens &Toks = LM->Toks; in ParseCXXInlineMethodDef() local
191 CachedTokens &Toks = MI->Toks; in ParseCXXNonStaticMemberInitializer() local
345 std::unique_ptr<CachedTokens> Toks = std::move(LM.DefaultArgs[I].Toks); in ParseLexedMethodDeclaration() local
427 if (CachedTokens *Toks = LM.ExceptionSpecTokens) { in ParseLexedMethodDeclaration() local
799 CachedTokens &Toks, in ConsumeAndStoreUntil()
885 bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) { in ConsumeAndStoreFunctionPrologue()
1085 bool Parser::ConsumeAndStoreConditional(CachedTokens &Toks) { in ConsumeAndStoreConditional()
1139 CachedTokens Toks; member in Parser::UnannotatedTentativeParsingAction
1149 bool Parser::ConsumeAndStoreInitializer(CachedTokens &Toks, in ConsumeAndStoreInitializer()
DParsePragma.cpp116 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
1038 Token Toks[1]; in HandlePragmaMSInitSeg() local
1080 ArrayRef<Token> Toks; member
1111 llvm::ArrayRef<Token> Toks = Info->Toks; in HandlePragmaLoopHint() local
1700 auto Toks = std::make_unique<Token[]>(1); in HandlePragma() local
1814 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
1857 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in HandlePragma() local
1976 MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1), in ParseAlignPragma() local
2067 MutableArrayRef<Token> Toks( in HandlePragma() local
2118 MutableArrayRef<Token> Toks( in HandlePragma() local
[all …]
DParser.cpp278 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil()
1243 CachedTokens Toks; in ParseFunctionDefinition() local
DParseOpenMP.cpp774 CachedTokens &Toks, SourceLocation Loc) { in ParseOMPDeclareSimdClauses()
1359 CachedTokens &Toks, in ParseOMPDeclareVariantClauses()
1735 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
1945 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DObjCLocalizeStringLiteral.cpp71 auto Toks = TB.spelledForExpanded(TB.expandedTokens(Str->getSourceRange())); in apply() local
DAddUsing.cpp184 auto Toks = Inputs.AST->getTokens().expandedTokens(ND->getSourceRange()); in findInsertionPoint() local
DDefineOutline.cpp320 auto Toks = TokBuf.expandedTokens(CD->getSourceRange()); in getDeletionRange() local
/external/clang/include/clang/AST/
DCommentParser.h73 void putBack(ArrayRef<Token> Toks) { in putBack()
/external/llvm-project/clang/include/clang/AST/
DCommentParser.h72 void putBack(ArrayRef<Token> Toks) { in putBack()
/external/llvm-project/clang/lib/Format/
DTokenAnalyzer.cpp73 ArrayRef<FormatToken *> Toks(Lex.lex()); in process() local
/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTestBase.cpp163 ArrayRef<syntax::Token> Toks = tokens(Root); in nodeByRange() local
/external/llvm-project/clang/lib/Lex/
DPragma.cpp151 auto Toks = std::make_unique<Token[]>(Tokens.size()); in revert() local
209 TokenCollector Toks = {*this, InMacroArgPreExpansion, {}, Tok}; in Handle_Pragma() local
344 TokenCollector Toks = {*this, InMacroArgPreExpansion, {}, Tok}; in HandleMicrosoft__pragma() local
1146 MutableArrayRef<Token> Toks( in HandleCaptured() local
DPreprocessor.cpp1079 void Preprocessor::CollectPpImportSuffix(SmallVectorImpl<Token> &Toks) { in CollectPpImportSuffix()
1152 auto EnterTokens = [this](ArrayRef<Token> Toks) { in LexAfterModuleImport()
DPPLexerChange.cpp153 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
/external/llvm-project/clang/unittests/Lex/
DDependencyDirectivesSourceMinimizerTest.cpp698 SmallVector<Token, 32> Toks; in TEST() local
713 SmallVector<Token, 32> Toks; in TEST() local
/external/clang/include/clang/Parse/
DParser.h954 CachedTokens Toks; member
985 CachedTokens Toks; member
1014 CachedTokens *Toks; member
1066 CachedTokens Toks; member
/external/llvm-project/clang/include/clang/Parse/
DParser.h1277 CachedTokens Toks; member
1299 CachedTokens Toks; variable
1329 CachedTokens Toks; member
1352 std::unique_ptr<CachedTokens> Toks; member
1398 CachedTokens Toks; member
/external/clang/lib/Lex/
DPPLexerChange.cpp191 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSemanticHighlightingTests.cpp68 std::vector<HighlightingToken> Toks = makeHighlightingTokens( in getExpectedTokens() local

123