Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp561 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
570 ParseDecimalOrOctalCommon(TokLoc); in NumericLiteralParser()
577 checkSeparator(TokLoc, s, CSK_AfterDigits); in NumericLiteralParser()
799 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
803 checkSeparator(TokLoc, s, CSK_BeforeDigits); in ParseDecimalOrOctalCommon()
807 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseDecimalOrOctalCommon()
919 checkSeparator(TokLoc, s, CSK_AfterDigits); in ParseNumberStartingWithZero()
938 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
956 Diags.Report(TokLoc, LangOpts.CPlusPlus14 in ParseNumberStartingWithZero()
998 ParseDecimalOrOctalCommon(TokLoc); in ParseNumberStartingWithZero()
[all …]
H A DPragma.cpp325 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma() local
329 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, in Handle_Pragma()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h59 NumericLiteralParser(StringRef TokSpelling, SourceLocation TokLoc,
125 void ParseNumberStartingWithZero(SourceLocation TokLoc);
126 void ParseDecimalOrOctalCommon(SourceLocation TokLoc);
139 void checkSeparator(SourceLocation TokLoc, const char *Pos,
H A DPreprocessor.h1814 SourceLocation SplitToken(SourceLocation TokLoc, unsigned Length);
/freebsd-13.1/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.cpp1103 SourceLocation TokLoc = Tok.getLocation(); in ParseGreaterThanInTemplateList() local
1121 TokLoc, Lexer::AdvanceToTokenCharacter(TokLoc, 2, PP.getSourceManager(), in ParseGreaterThanInTemplateList()
1142 Diag(TokLoc, DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
1148 TokLoc, 1, PP.getSourceManager(), getLangOpts()); in ParseGreaterThanInTemplateList()
1153 RAngleLoc = PP.SplitToken(TokLoc, GreaterLength); in ParseGreaterThanInTemplateList()
1174 SourceLocation AfterGreaterLoc = TokLoc.getLocWithOffset(GreaterLength); in ParseGreaterThanInTemplateList()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1756 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
1758 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3737 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
3764 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3777 /*Pascal*/false, StrTy, &TokLoc, 1); in ActOnNumericConstant()
3778 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3796 return BuildLiteralOperatorCall(R, OpNameInfo, None, TokLoc, in ActOnNumericConstant()
14554 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
14562 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
14564 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5496 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc,