Home
last modified time | relevance | path

Searched refs:TokLoc (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp81 FullSourceLoc TokLoc, in MakeCharSourceRange() argument
86 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
87 TokLoc.getManager(), Features); in MakeCharSourceRange()
90 TokLoc.getManager(), Features); in MakeCharSourceRange()
100 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
104 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
105 TokLoc.getManager(), Features); in Diag()
107 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
901 SourceLocation TokLoc, in NumericLiteralParser() argument
938 Diags.Report(TokLoc, diag::err_lexing_numeric); in NumericLiteralParser()
[all …]
H A DPragma.cpp290 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma() local
294 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, in Handle_Pragma()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h68 NumericLiteralParser(StringRef TokSpelling, SourceLocation TokLoc,
141 void ParseNumberStartingWithZero(SourceLocation TokLoc);
142 void ParseDecimalOrOctalCommon(SourceLocation TokLoc);
155 void checkSeparator(SourceLocation TokLoc, const char *Pos,
H A DPreprocessor.h2164 SourceLocation SplitToken(SourceLocation TokLoc, unsigned Length);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp409 SourceLocation TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement() local
422 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
431 SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
439 SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
489 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
497 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
508 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
H A DParseTemplate.cpp1062 SourceLocation TokLoc = Tok.getLocation(); in ParseGreaterThanInTemplateList() local
1080 TokLoc, Lexer::AdvanceToTokenCharacter(TokLoc, 2, PP.getSourceManager(), in ParseGreaterThanInTemplateList()
1101 Diag(TokLoc, DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
1107 TokLoc, 1, PP.getSourceManager(), getLangOpts()); in ParseGreaterThanInTemplateList()
1112 RAngleLoc = PP.SplitToken(TokLoc, GreaterLength); in ParseGreaterThanInTemplateList()
1133 SourceLocation AfterGreaterLoc = TokLoc.getLocWithOffset(GreaterLength); in ParseGreaterThanInTemplateList()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp904 auto TokLoc = S->getBeginLoc(); in buildUserDefinedLiteral() local
906 Builder.findToken(TokLoc)->text(Context.getSourceManager()); in buildUserDefinedLiteral()
908 NumericLiteralParser(TokSpelling, TokLoc, Context.getSourceManager(), in buildUserDefinedLiteral()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1914 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
1916 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3706 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
3733 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3747 /*Pascal*/ false, StrTy, &TokLoc, 1); in ActOnNumericConstant()
3748 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3766 return BuildLiteralOperatorCall(R, OpNameInfo, std::nullopt, TokLoc, in ActOnNumericConstant()
15061 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
15069 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
15071 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7035 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc, tok::TokenKind Kind,