Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp944 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
953 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
960 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
1205 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1209 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
1213 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
1325 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
1344 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
1362 Diags.Report(TokLoc, LangOpts.CPlusPlus14 in ParseNumberStartingWithZero()
1410 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
[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-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h68 NumericLiteralParser(StringRef TokSpelling, SourceLocation TokLoc,
142 void ParseNumberStartingWithZero(SourceLocation TokLoc);
143 void ParseDecimalOrOctalCommon(SourceLocation TokLoc);
156 void checkSeparator(SourceLocation TokLoc, const char *Pos,
H A DPreprocessor.h2138 SourceLocation SplitToken(SourceLocation TokLoc, unsigned Length);
/freebsd-14.2/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.cpp1173 SourceLocation TokLoc = Tok.getLocation(); in ParseGreaterThanInTemplateList() local
1191 TokLoc, Lexer::AdvanceToTokenCharacter(TokLoc, 2, PP.getSourceManager(), in ParseGreaterThanInTemplateList()
1212 Diag(TokLoc, DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
1218 TokLoc, 1, PP.getSourceManager(), getLangOpts()); in ParseGreaterThanInTemplateList()
1223 RAngleLoc = PP.SplitToken(TokLoc, GreaterLength); in ParseGreaterThanInTemplateList()
1244 SourceLocation AfterGreaterLoc = TokLoc.getLocWithOffset(GreaterLength); in ParseGreaterThanInTemplateList()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp903 auto TokLoc = S->getBeginLoc(); in buildUserDefinedLiteral() local
905 Builder.findToken(TokLoc)->text(Context.getSourceManager()); in buildUserDefinedLiteral()
907 NumericLiteralParser(TokSpelling, TokLoc, Context.getSourceManager(), in buildUserDefinedLiteral()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1929 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
1931 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3980 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
4007 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
4021 /*Pascal*/ false, StrTy, &TokLoc, 1); in ActOnNumericConstant()
4022 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
4040 return BuildLiteralOperatorCall(R, OpNameInfo, std::nullopt, TokLoc, in ActOnNumericConstant()
16061 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
16069 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
16071 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6074 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc,