/external/clang/lib/Format/ |
H A D | Format.cpp | 747 Tok = Tok->Next; 781 for (const FormatToken *Tok = Line->First; Tok; Tok = Tok->Next) { 902 for (FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) { 927 for (FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) { 998 (!RootToken.Next || 999 (RootToken.Next->is(tok::semi) && !RootToken.Next->Next))) 1040 assert(!A.Last->Next); 1044 A.Last->Next 1479 FormatToken *Next = Tokens.back(); local [all...] |
H A D | FormatToken.h | 114 MatchingParen(nullptr), Previous(nullptr), Next(nullptr), 301 (!ColonRequired || (Next && Next->is(tok::colon))); 308 return is(tok::at) && Next && (Next->isObjCAtKeyword(tok::objc_public) || 309 Next->isObjCAtKeyword(tok::objc_protected) || 310 Next->isObjCAtKeyword(tok::objc_package) || 311 Next->isObjCAtKeyword(tok::objc_private)); 353 return is(tok::comment) && (!Next || Next 393 FormatToken *Next; member in struct:clang::format::FormatToken [all...] |
H A D | TokenAnnotator.cpp | 149 if (LookForDecls && CurrentToken->Next) { 153 FormatToken *Next = CurrentToken->Next; local 156 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { 170 if (MightBeFunctionType && CurrentToken->Next && 171 (CurrentToken->Next->is(tok::l_paren) || 172 (CurrentToken->Next->is(tok::l_square) && 203 if (CurrentToken->is(tok::comma) && CurrentToken->Next && 204 !CurrentToken->Next->HasUnescapedNewline && 205 !CurrentToken->Next 1209 const FormatToken *Next = Current.Next; local [all...] |
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2102 CodeCompleteConsumer &Next; member in class:__anon17908::AugmentedCodeCompleteConsumer 2105 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, argument 2107 : CodeCompleteConsumer(CodeCompleteOpts, Next.isOutputBinary()), 2108 AST(AST), Next(Next) 2140 Next.ProcessOverloadCandidates(S, CurrentArg, Candidates, NumCandidates); 2144 return Next.getAllocator(); 2148 return Next.getCodeCompletionTUInfo(); 2320 Next.ProcessCodeCompleteResults(S, Context, Results, NumResults); 2324 Next [all...] |
H A D | VerifyDiagnosticConsumer.cpp | 212 bool Next(StringRef S) { function in class:__anon17932::ParseHelper 222 bool Next(unsigned &N) { function in class:__anon17932::ParseHelper 326 // Next token: - 327 if (!PH.Next("-")) 331 // Next token: { error | warning | note } 333 if (PH.Next("error")) 335 else if (PH.Next("warning")) 337 else if (PH.Next("remark")) 339 else if (PH.Next("note")) 341 else if (PH.Next("n [all...] |
/external/clang/lib/Lex/ |
H A D | Lexer.cpp | 1602 char Next = getCharAndSizeNoWarn(CurPtr + Size, NextSize, getLangOpts()); local 1603 if (isIdentifierBody(Next)) { 1673 char Next = getCharAndSizeNoWarn(CurPtr + Consumed, NextSize, local 1675 if (!isIdentifierBody(Next)) { 1687 Buffer[Chars++] = Next; 2458 // Next, lex the character, which should handle the EOD transition.
|
H A D | MacroArgs.cpp | 89 MacroArgs *Next = ArgCache; local 96 return Next;
|
H A D | PPDirectives.cpp | 41 MICache = MICache->Next; 47 MIChain->Next = MIChainHead; 68 MIChain->Next = DeserialMIChainHead; 106 MacroInfoChain *Next = MIChain->Next; local 107 Prev->Next = Next; 108 if (Next) 109 Next->Prev = Prev; 112 MIChainHead = MIChain->Next; [all...] |
/external/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 282 const Token &Next = NextToken(); local 283 IsIdentifierArg = Next.is(tok::r_paren) || Next.is(tok::comma); 2336 const Token &Next = HasScope ? GetLookAheadToken(2) : NextToken(); local 2340 if (Next.is(tok::star) || Next.is(tok::amp) || Next.is(tok::ampamp) || 2341 Next.is(tok::identifier) || Next.is(tok::annot_cxxscope) || 2342 Next 2541 Token Next = NextToken(); local 5783 Token Next = NextToken(); local 5817 Token Next = NextToken(); local [all...] |
H A D | ParseDeclCXX.cpp | 2471 const Token &Next = NextToken(); local 2472 if (IsFunction || Next.is(tok::semi) || Next.is(tok::comma) || 2473 Next.is(tok::eof)) {
|
H A D | ParseExpr.cpp | 706 const Token &Next = NextToken(); local 711 if (Next.is(tok::l_paren) && Tok.is(tok::identifier) && 717 if (Next.is(tok::coloncolon) || 718 (!ColonIsSacred && Next.is(tok::colon)) || 719 Next.is(tok::less) || 720 Next.is(tok::l_paren) || 721 Next.is(tok::l_brace)) { 778 const Token& Next = NextToken(); local 780 Next.is(tok::colon) || Next [all...] |
H A D | ParseExprCXX.cpp | 80 void Parser::CheckForTemplateAndDigraph(Token &Next, ParsedType ObjectType, argument 83 if (!Next.is(tok::l_square) || Next.getLength() != 2) 87 if (!SecondToken.is(tok::colon) || !areTokensAdjacent(Next, SecondToken)) 99 FixDigraph(*this, PP, Next, SecondToken, tok::unknown, 407 Token Next = NextToken(); local 411 if (Next.is(tok::colon) && !ColonIsSacred) { 414 Next.getLocation(), ObjectType, 420 Diag(Next, diag::err_unexpected_colon_in_nested_name_spec) 421 << FixItHint::CreateReplacement(Next 693 const Token Next = NextToken(), After = GetLookAheadToken(2); local 1220 Token Next = NextToken(); local [all...] |
H A D | ParseStmt.cpp | 177 Token Next = NextToken(); local 178 if (Next.is(tok::colon)) { // C99 6.8.1: labeled-statement 185 if (Next.isNot(tok::coloncolon)) { 188 StatementFilterCCC Validator(Next); 1412 const Token &Next = NextToken(); local 1413 if (Next.is(tok::colon)) 1416 if (Next.is(tok::l_square) || Next.is(tok::kw_alignas)) {
|
H A D | ParseTemplate.cpp | 411 Token Next = NextToken(); 414 if (Next.getKind() == tok::identifier) 415 Next = GetLookAheadToken(2); 417 switch (Next.getKind()) { 552 const Token &Next = Tok.is(tok::kw_struct) ? NextToken() : Tok; local 561 } else if (Next.is(tok::identifier) || Next.is(tok::comma) || 562 Next.is(tok::greater) || Next.is(tok::greatergreater) || 563 Next 775 Token Next = NextToken(); local [all...] |
H A D | ParseTentative.cpp | 1122 const Token &Next = NextToken(); local 1124 if (!getLangOpts().ObjC1 && Next.is(tok::identifier)) 1127 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { 1134 TypoCorrection.WantTypeSpecifiers = Next.isNot(tok::arrow); 1178 const Token &Next = NextToken(); local 1179 if (Next.is(tok::kw_new) || // ::new 1180 Next.is(tok::kw_delete)) // ::delete 1578 const Token &Next = NextToken(); local 1579 if (Next [all...] |
H A D | Parser.cpp | 1356 Token Next = NextToken(); local 1363 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next, 1403 if (Next.isNot(tok::less)) {
|
/external/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 38 IdDeclInfoPool(IdDeclInfoPool *Next) : Next(Next) {} argument 40 IdDeclInfoPool *Next; member in struct:IdentifierResolver::IdDeclInfoMap::IdDeclInfoPool 53 Cur = Cur->Next;
|
H A D | JumpDiagnostics.cpp | 357 Stmt *Next; local 359 Next = CS->getSubStmt(); 361 Next = DS->getSubStmt(); 363 Next = LS->getSubStmt(); 368 SubStmt = Next;
|
H A D | SemaDecl.cpp | 6703 const Decl *Next = VisitStack.pop_back_val(); local 6704 if (!Next) { 6716 if (const FieldDecl *Field = dyn_cast<FieldDecl>(Next)) { 6720 RD = cast<RecordDecl>(Next);
|
H A D | SemaTemplateDeduction.cpp | 1523 CXXRecordDecl *Next = cast<CXXRecordDecl>(NextT->getDecl()); local 1524 for (const auto &Base : Next->bases()) {
|
H A D | SemaTemplateInstantiateDecl.cpp | 572 NamedDecl *Next = SemaRef.FindInstantiatedDecl(D->getLocation(), PI, local 574 if (!Next) 577 NamedChain[i++] = Next;
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 224 ObjCCategoryDecl *Next) { 225 Cat->NextClassCategory = Next; 223 setNextObjCCategory(ObjCCategoryDecl *Cat, ObjCCategoryDecl *Next) argument
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporter.cpp | 269 PathPieces::iterator Next = std::next(I); local 270 if (Next != E) { 272 dyn_cast<PathDiagnosticControlFlowPiece>(*Next)) { 2421 // Next only consider edges that are not anchored on
|
H A D | ExprEngineCXX.cpp | 118 CFGElement Next = (*B)[NextStmtIdx]; local 122 while (Next.getAs<CFGImplicitDtor>() && NextStmtIdx + 1 < B->size()) { 124 Next = (*B)[NextStmtIdx]; 128 if (Optional<CFGStmt> StmtElem = Next.getAs<CFGStmt>()) { 142 if (Optional<CFGInitializer> InitElem = Next.getAs<CFGInitializer>()) {
|
/external/clang/test/ASTMerge/Inputs/ |
H A D | struct1.c | 50 struct ListNode *Next; member in struct:ListNode
|