Searched refs:CurrentToken (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Format/ |
D | TokenAnnotator.cpp | 37 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), in AnnotatingParser() 40 resetTokenMetadata(CurrentToken); in AnnotatingParser() 45 if (!CurrentToken || !CurrentToken->Previous) in parseAngle() 47 if (NonTemplateLess.count(CurrentToken->Previous)) in parseAngle() 50 const FormatToken& Previous = *CurrentToken->Previous; in parseAngle() 60 FormatToken *Left = CurrentToken->Previous; in parseAngle() 75 CurrentToken->is(tok::question)) in parseAngle() 78 while (CurrentToken) { in parseAngle() 79 if (CurrentToken->is(tok::greater)) { in parseAngle() 80 Left->MatchingParen = CurrentToken; in parseAngle() [all …]
|
/external/llvm-project/clang/lib/Format/ |
D | TokenAnnotator.cpp | 75 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), in AnnotatingParser() 78 resetTokenMetadata(CurrentToken); in AnnotatingParser() 83 if (!CurrentToken || !CurrentToken->Previous) in parseAngle() 85 if (NonTemplateLess.count(CurrentToken->Previous)) in parseAngle() 88 const FormatToken &Previous = *CurrentToken->Previous; // The '<'. in parseAngle() 98 FormatToken *Left = CurrentToken->Previous; in parseAngle() 113 CurrentToken->is(tok::question)) in parseAngle() 116 while (CurrentToken) { in parseAngle() 117 if (CurrentToken->is(tok::greater)) { in parseAngle() 120 if (CurrentToken->Next && CurrentToken->Next->is(tok::greater) && in parseAngle() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | LexerUtils.cpp | 82 Optional<Token> CurrentToken; in findNextTokenSkippingComments() local 84 CurrentToken = Lexer::findNextToken(Start, SM, LangOpts); in findNextTokenSkippingComments() 85 } while (CurrentToken && CurrentToken->is(tok::comment)); in findNextTokenSkippingComments() 86 return CurrentToken; in findNextTokenSkippingComments()
|
D | LexerUtils.h | 67 Optional<Token> CurrentToken = Lexer::findNextToken(Start, SM, LangOpts); in findNextAnyTokenKind() local 69 if (!CurrentToken) in findNextAnyTokenKind() 72 Token PotentialMatch = *CurrentToken; in findNextAnyTokenKind()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ExpandModularHeadersPPCallbacks.cpp | 145 PP->Lex(CurrentToken); in parseToLocation() 147 while (!CurrentToken.is(tok::eof) && in parseToLocation() 148 Sources.isBeforeInTranslationUnit(CurrentToken.getLocation(), Loc)) { in parseToLocation() 149 PP->Lex(CurrentToken); in parseToLocation() 177 while (!CurrentToken.is(tok::eof)) in EndOfMainFile() 178 PP->Lex(CurrentToken); in EndOfMainFile()
|
D | ExpandModularHeadersPPCallbacks.h | 138 Token CurrentToken; variable
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 4742 char CurrentToken = FeatureList[i]; 4743 switch (CurrentToken) { 4760 HasFeatures = CurrentToken == ')' ? hasRequiredFeatures(F) 4764 if (CurrentToken == '|') {
|