Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLiteralSupport.cpp60 FullSourceLoc TokLoc, in MakeCharSourceRange() argument
65 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
66 TokLoc.getManager(), Features); in MakeCharSourceRange()
69 TokLoc.getManager(), Features); in MakeCharSourceRange()
79 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
83 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
84 TokLoc.getManager(), Features); in Diag()
86 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
527 SourceLocation TokLoc, in NumericLiteralParser() argument
561 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
[all …]
H A DPragma.cpp323 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma() local
327 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, in Handle_Pragma()
/netbsd-src/external/apache2/llvm/dist/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.h1813 SourceLocation SplitToken(SourceLocation TokLoc, unsigned Length);
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp7195 SourceLocation TokLoc = GetTokenLoc(I); in annotateAndAdvanceTokens() local
7196 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { in annotateAndAdvanceTokens()
7225 SourceLocation TokLoc = getFunctionMacroTokenLoc(I); in annotateAndAdvanceFunctionMacroTokens() local
7226 if (TokLoc.isFileID()) in annotateAndAdvanceFunctionMacroTokens()
7228 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { in annotateAndAdvanceFunctionMacroTokens()
7310 SourceLocation TokLoc = GetTokenLoc(I); in Visit() local
7311 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { in Visit()
7325 SourceLocation TokLoc = GetTokenLoc(I); in Visit() local
7326 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { in Visit()
7335 if (TokLoc == cursorRange.getBegin()) in Visit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp1746 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
1748 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3704 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
3731 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3744 /*Pascal*/false, StrTy, &TokLoc, 1); in ActOnNumericConstant()
3745 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3763 return BuildLiteralOperatorCall(R, OpNameInfo, None, TokLoc, in ActOnNumericConstant()
14433 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
14441 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
14443 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h5445 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc,