/external/llvm-project/clang/unittests/AST/ |
D | CommentLexer.cpp | 61 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/ |
D | CommentLexer.cpp | 62 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/ |
D | ParseCXXInlineMethods.cpp | 123 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()
|
D | ParsePragma.cpp | 734 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 …]
|
D | ParseOpenMP.cpp | 495 CachedTokens &Toks, SourceLocation Loc) { in ParseOMPDeclareSimdClauses() 596 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
|
D | Parser.cpp | 252 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil() 1053 CachedTokens Toks; in ParseFunctionDefinition() local
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 120 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()
|
D | ParsePragma.cpp | 116 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 …]
|
D | Parser.cpp | 278 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil() 1243 CachedTokens Toks; in ParseFunctionDefinition() local
|
D | ParseOpenMP.cpp | 774 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/ |
D | ObjCLocalizeStringLiteral.cpp | 71 auto Toks = TB.spelledForExpanded(TB.expandedTokens(Str->getSourceRange())); in apply() local
|
D | AddUsing.cpp | 184 auto Toks = Inputs.AST->getTokens().expandedTokens(ND->getSourceRange()); in findInsertionPoint() local
|
D | DefineOutline.cpp | 320 auto Toks = TokBuf.expandedTokens(CD->getSourceRange()); in getDeletionRange() local
|
/external/clang/include/clang/AST/ |
D | CommentParser.h | 73 void putBack(ArrayRef<Token> Toks) { in putBack()
|
/external/llvm-project/clang/include/clang/AST/ |
D | CommentParser.h | 72 void putBack(ArrayRef<Token> Toks) { in putBack()
|
/external/llvm-project/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 73 ArrayRef<FormatToken *> Toks(Lex.lex()); in process() local
|
/external/llvm-project/clang/unittests/Tooling/Syntax/ |
D | TreeTestBase.cpp | 163 ArrayRef<syntax::Token> Toks = tokens(Root); in nodeByRange() local
|
/external/llvm-project/clang/lib/Lex/ |
D | Pragma.cpp | 151 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
|
D | Preprocessor.cpp | 1079 void Preprocessor::CollectPpImportSuffix(SmallVectorImpl<Token> &Toks) { in CollectPpImportSuffix() 1152 auto EnterTokens = [this](ArrayRef<Token> Toks) { in LexAfterModuleImport()
|
D | PPLexerChange.cpp | 153 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
|
/external/llvm-project/clang/unittests/Lex/ |
D | DependencyDirectivesSourceMinimizerTest.cpp | 698 SmallVector<Token, 32> Toks; in TEST() local 713 SmallVector<Token, 32> Toks; in TEST() local
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 954 CachedTokens Toks; member 985 CachedTokens Toks; member 1014 CachedTokens *Toks; member 1066 CachedTokens Toks; member
|
/external/llvm-project/clang/include/clang/Parse/ |
D | Parser.h | 1277 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/ |
D | PPLexerChange.cpp | 191 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SemanticHighlightingTests.cpp | 68 std::vector<HighlightingToken> Toks = makeHighlightingTokens( in getExpectedTokens() local
|