Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLiteralSupport.cpp61 FullSourceLoc TokLoc, in MakeCharSourceRange() argument
66 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
67 TokLoc.getManager(), Features); in MakeCharSourceRange()
70 TokLoc.getManager(), Features); in MakeCharSourceRange()
80 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
84 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
85 TokLoc.getManager(), Features); in Diag()
87 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
833 SourceLocation TokLoc, in NumericLiteralParser() argument
866 Diags.Report(TokLoc, diag::err_lexing_numeric); in NumericLiteralParser()
[all …]
H A DPragma.cpp329 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma() local
333 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, in Handle_Pragma()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DLiteralSupport.h59 NumericLiteralParser(StringRef TokSpelling, SourceLocation TokLoc,
133 void ParseNumberStartingWithZero(SourceLocation TokLoc);
134 void ParseDecimalOrOctalCommon(SourceLocation TokLoc);
147 void checkSeparator(SourceLocation TokLoc, const char *Pos,
H A DPreprocessor.h2140 SourceLocation SplitToken(SourceLocation TokLoc, unsigned Length);
/openbsd-src/gnu/llvm/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.cpp1152 SourceLocation TokLoc = Tok.getLocation(); in ParseGreaterThanInTemplateList() local
1170 TokLoc, Lexer::AdvanceToTokenCharacter(TokLoc, 2, PP.getSourceManager(), in ParseGreaterThanInTemplateList()
1191 Diag(TokLoc, DiagId) << Hint1 << Hint2; in ParseGreaterThanInTemplateList()
1197 TokLoc, 1, PP.getSourceManager(), getLangOpts()); in ParseGreaterThanInTemplateList()
1202 RAngleLoc = PP.SplitToken(TokLoc, GreaterLength); in ParseGreaterThanInTemplateList()
1223 SourceLocation AfterGreaterLoc = TokLoc.getLocWithOffset(GreaterLength); in ParseGreaterThanInTemplateList()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp7461 SourceLocation TokLoc = GetTokenLoc(I); in annotateAndAdvanceTokens() local
7462 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { in annotateAndAdvanceTokens()
7491 SourceLocation TokLoc = getFunctionMacroTokenLoc(I); in annotateAndAdvanceFunctionMacroTokens() local
7492 if (TokLoc.isFileID()) in annotateAndAdvanceFunctionMacroTokens()
7494 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { in annotateAndAdvanceFunctionMacroTokens()
7576 SourceLocation TokLoc = GetTokenLoc(I); in Visit() local
7577 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { in Visit()
7591 SourceLocation TokLoc = GetTokenLoc(I); in Visit() local
7592 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { in Visit()
7601 if (TokLoc == cursorRange.getBegin()) in Visit()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp1814 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
1816 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3803 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
3830 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3844 /*Pascal*/ false, StrTy, &TokLoc, 1); in ActOnNumericConstant()
3845 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3863 return BuildLiteralOperatorCall(R, OpNameInfo, std::nullopt, TokLoc, in ActOnNumericConstant()
15574 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
15582 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
15584 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h5920 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc,