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.cpp82 FullSourceLoc TokLoc, in MakeCharSourceRange() argument
87 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
88 TokLoc.getManager(), Features); in MakeCharSourceRange()
91 TokLoc.getManager(), Features); in MakeCharSourceRange()
101 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
105 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
106 TokLoc.getManager(), Features); in Diag()
108 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
899 SourceLocation TokLoc, in NumericLiteralParser() argument
936 Diags.Report(TokLoc, diag::err_lexing_numeric); in NumericLiteralParser()
[all …]
H A DPragma.cpp286 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma() local
290 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.h2201 SourceLocation SplitToken(SourceLocation TokLoc, unsigned Length);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp389 SourceLocation TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement() local
402 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
410 FileIDAndOffset ExpSemiLoc = SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
417 FileIDAndOffset ExpLoc = SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
467 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
475 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
486 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
H A DParseTemplate.cpp942 SourceLocation TokLoc = Tok.getLocation(); in ParseGreaterThanInTemplateList() local
960 TokLoc, Lexer::AdvanceToTokenCharacter(TokLoc, 2, PP.getSourceManager(), in ParseGreaterThanInTemplateList()
981 Diag(TokLoc, DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
987 TokLoc, 1, PP.getSourceManager(), getLangOpts()); in ParseGreaterThanInTemplateList()
992 RAngleLoc = PP.SplitToken(TokLoc, GreaterLength); in ParseGreaterThanInTemplateList()
1013 SourceLocation AfterGreaterLoc = TokLoc.getLocWithOffset(GreaterLength); in ParseGreaterThanInTemplateList()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp898 auto TokLoc = S->getBeginLoc(); in buildUserDefinedLiteral() local
900 Builder.findToken(TokLoc)->text(Context.getSourceManager()); in buildUserDefinedLiteral()
902 NumericLiteralParser(TokSpelling, TokLoc, Context.getSourceManager(), in buildUserDefinedLiteral()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2023 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
2025 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3755 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
3782 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3796 /*Pascal*/ false, StrTy, TokLoc); in ActOnNumericConstant()
3797 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3815 return BuildLiteralOperatorCall(R, OpNameInfo, {}, TokLoc, &ExplicitArgs); in ActOnNumericConstant()
15423 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
15431 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
15440 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7458 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc, tok::TokenKind Kind,