Home
last modified time | relevance | path

Searched refs:TheTok (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp502 Token TheTok; in MeasureTokenLength() local
503 if (getRawToken(Loc, TheTok, SM, LangOpts)) in MeasureTokenLength()
505 return TheTok.getLength(); in MeasureTokenLength()
588 Token TheTok; in getBeginningOfFileToken() local
590 TheLexer.LexFromRawLexer(TheTok); in getBeginningOfFileToken()
596 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in getBeginningOfFileToken()
597 return TheTok.getLocation(); in getBeginningOfFileToken()
603 } while (TheTok.getKind() != tok::eof); in getBeginningOfFileToken()
650 Token TheTok; in ComputePreamble() local
670 TheLexer.LexFromRawLexer(TheTok); in ComputePreamble()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h280 unsigned getOffsetOfStringByte(const Token &TheTok, unsigned ByteNo) const;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1044 Token TheTok; in HandlePiece() local
1045 rawLexer.LexFromRawLexer(TheTok); in HandlePiece()
1046 for (unsigned i = 0, n = TheTok.getLength(); i < n; ++i) in HandlePiece()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1375 Token TheTok; in getLocationOfByte() local
1376 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte()
1379 StringLiteralParser SLP(TheTok, SM, Features, Target); in getLocationOfByte()
1385 unsigned Offset = SLP.getOffsetOfStringByte(TheTok, ByteNo); in getLocationOfByte()