Searched refs:TheTok (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | PlistDiagnostics.cpp | 1123 Token TheTok; in getMacroExpansionInfo() local 1124 TStream.next(TheTok); in getMacroExpansionInfo() 1126 std::string MacroName = PP.getSpelling(TheTok); in getMacroExpansionInfo() 1152 TStream.next(TheTok); in getMacroExpansionInfo() 1161 if (TheTok.isNot(tok::l_paren)) in getMacroExpansionInfo() 1203 TStream.next(TheTok); in getMacroExpansionInfo() 1206 !TheTok.is(tok::comma)) { in getMacroExpansionInfo() 1207 assert(TheTok.isNot(tok::eof) && in getMacroExpansionInfo() 1210 if (TheTok.is(tok::l_paren)) in getMacroExpansionInfo() 1213 if (TheTok.is(tok::r_paren)) in getMacroExpansionInfo() [all …]
|
D | HTMLDiagnostics.cpp | 929 Token TheTok; in HandlePiece() local 930 rawLexer.LexFromRawLexer(TheTok); in HandlePiece() 931 for (unsigned i = 0, n = TheTok.getLength(); i < n; ++i) in HandlePiece()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 409 Token TheTok; in MeasureTokenLength() local 410 if (getRawToken(Loc, TheTok, SM, LangOpts)) in MeasureTokenLength() 412 return TheTok.getLength(); in MeasureTokenLength() 488 Token TheTok; in getBeginningOfFileToken() local 490 TheLexer.LexFromRawLexer(TheTok); in getBeginningOfFileToken() 496 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in getBeginningOfFileToken() 497 return TheTok.getLocation(); in getBeginningOfFileToken() 503 } while (TheTok.getKind() != tok::eof); in getBeginningOfFileToken() 553 Token TheTok; in ComputePreamble() local 575 TheLexer.LexFromRawLexer(TheTok); in ComputePreamble() [all …]
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 450 Token TheTok; in MeasureTokenLength() local 451 if (getRawToken(Loc, TheTok, SM, LangOpts)) in MeasureTokenLength() 453 return TheTok.getLength(); in MeasureTokenLength() 536 Token TheTok; in getBeginningOfFileToken() local 538 TheLexer.LexFromRawLexer(TheTok); in getBeginningOfFileToken() 544 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in getBeginningOfFileToken() 545 return TheTok.getLocation(); in getBeginningOfFileToken() 551 } while (TheTok.getKind() != tok::eof); in getBeginningOfFileToken() 598 Token TheTok; in ComputePreamble() local 618 TheLexer.LexFromRawLexer(TheTok); in ComputePreamble() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 496 Token TheTok; in HandlePiece() local 497 rawLexer.LexFromRawLexer(TheTok); in HandlePiece() 498 for (unsigned i = 0, n = TheTok.getLength(); i < n; ++i) in HandlePiece()
|
/external/clang/include/clang/Lex/ |
D | LiteralSupport.h | 240 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SourceCode.cpp | 282 Token TheTok; in getTokenLengthAtLoc() local 283 if (Lexer::getRawToken(Loc, TheTok, SM, LangOpts)) in getTokenLengthAtLoc() 290 if (TheTok.is(tok::greatergreater)) in getTokenLengthAtLoc() 292 return TheTok.getLength(); in getTokenLengthAtLoc()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | LiteralSupport.h | 255 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1053 Token TheTok; in getLocationOfByte() local 1054 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte() 1057 StringLiteralParser SLP(TheTok, SM, Features, Target); in getLocationOfByte() 1063 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
|
/external/llvm-project/clang/lib/AST/ |
D | Expr.cpp | 1164 Token TheTok; in getLocationOfByte() local 1165 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte() 1168 StringLiteralParser SLP(TheTok, SM, Features, Target); in getLocationOfByte() 1174 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()
|