Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DLiteralSupport.cpp47 FullSourceLoc TokLoc, in MakeCharSourceRange() argument
52 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in MakeCharSourceRange()
53 TokLoc.getManager(), Features); in MakeCharSourceRange()
56 TokLoc.getManager(), Features); in MakeCharSourceRange()
66 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
70 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin, in Diag()
71 TokLoc.getManager(), Features); in Diag()
73 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
508 SourceLocation TokLoc, in NumericLiteralParser() argument
533 ParseNumberStartingWithZero(TokLoc); in NumericLiteralParser()
[all …]
DPragma.cpp289 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma() local
293 Lexer *TL = Lexer::Create_PragmaLexer(TokLoc, PragmaLoc, RParenLoc, in Handle_Pragma()
/external/clang/include/clang/Lex/
DLiteralSupport.h59 SourceLocation TokLoc,
109 void ParseNumberStartingWithZero(SourceLocation TokLoc);
110 void ParseDecimalOrOctalCommon(SourceLocation TokLoc);
123 void checkSeparator(SourceLocation TokLoc, const char *Pos,
/external/clang/lib/Parse/
DParseStmtAsm.cpp411 SourceLocation TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement() local
424 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
433 SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
441 SrcMgr.getDecomposedExpansionLoc(TokLoc); in ParseMicrosoftAsmStatement()
486 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
494 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
505 TokLoc = Tok.getLocation(); in ParseMicrosoftAsmStatement()
/external/clang/tools/libclang/
DCIndex.cpp6264 SourceLocation TokLoc = GetTokenLoc(I); in annotateAndAdvanceTokens() local
6265 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { in annotateAndAdvanceTokens()
6296 SourceLocation TokLoc = getFunctionMacroTokenLoc(I); in annotateAndAdvanceFunctionMacroTokens() local
6297 if (TokLoc.isFileID()) in annotateAndAdvanceFunctionMacroTokens()
6299 if (LocationCompare(SrcMgr, TokLoc, range) == compResult) { in annotateAndAdvanceFunctionMacroTokens()
6377 SourceLocation TokLoc = GetTokenLoc(I); in Visit() local
6378 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { in Visit()
6392 SourceLocation TokLoc = GetTokenLoc(I); in Visit() local
6393 switch (LocationCompare(SrcMgr, TokLoc, cursorRange)) { in Visit()
6402 if (TokLoc == cursorRange.getBegin()) in Visit()
/external/clang/lib/Sema/
DSemaExpr.cpp1561 static SourceLocation getUDSuffixLoc(Sema &S, SourceLocation TokLoc, in getUDSuffixLoc() argument
1563 return Lexer::AdvanceToTokenCharacter(TokLoc, Offset, S.getSourceManager(), in getUDSuffixLoc()
3296 SourceLocation TokLoc = Tok.getLocation(); in ActOnNumericConstant() local
3319 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3332 /*Pascal*/false, StrTy, &TokLoc, 1); in ActOnNumericConstant()
3333 return BuildLiteralOperatorCall(R, OpNameInfo, Lit, TokLoc); in ActOnNumericConstant()
3351 return BuildLiteralOperatorCall(R, OpNameInfo, None, TokLoc, in ActOnNumericConstant()
11191 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp() argument
11199 DiagnoseBinOpPrecedence(*this, Opc, TokLoc, LHSExpr, RHSExpr); in ActOnBinOp()
11201 return BuildBinOp(S, TokLoc, Opc, LHSExpr, RHSExpr); in ActOnBinOp()
/external/clang/include/clang/Sema/
DSema.h4054 ExprResult ActOnBinOp(Scope *S, SourceLocation TokLoc,