Searched refs:expansionLoc (Results 1 – 3 of 3) sorted by relevance
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 431 rewriter_.ReplaceText(expansionLoc(E->getOperatorLoc()), 1, pre); in VisitUnaryOperator() 432 rewriter_.InsertTextAfterToken(expansionLoc(GET_ENDLOC(sub)), post); in VisitUnaryOperator() 488 rewriter_.InsertText(expansionLoc(GET_BEGINLOC(E)), pre); in VisitMemberExpr() 527 rewriter_.InsertText(expansionLoc(GET_BEGINLOC(base)), pre); in VisitArraySubscriptExpr() 541 rewriter_.ReplaceText(expansionLoc(E->getRBracketLoc()), 1, rbracket); in VisitArraySubscriptExpr() 605 ProbeVisitor::expansionLoc(SourceLocation loc) { in expansionLoc() function in ebpf::ProbeVisitor
|
D | b_frontend_action.h | 114 clang::SourceLocation expansionLoc(clang::SourceLocation loc);
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 789 SourceLocation expansionLoc; in isAtStartOfMacroExpansion() local 790 if (!SM.isAtStartOfImmediateMacroExpansion(loc, &expansionLoc)) in isAtStartOfMacroExpansion() 793 if (expansionLoc.isFileID()) { in isAtStartOfMacroExpansion() 796 *MacroBegin = expansionLoc; in isAtStartOfMacroExpansion() 800 return isAtStartOfMacroExpansion(expansionLoc, SM, LangOpts, MacroBegin); in isAtStartOfMacroExpansion() 817 SourceLocation expansionLoc; in isAtEndOfMacroExpansion() local 818 if (!SM.isAtEndOfImmediateMacroExpansion(afterLoc, &expansionLoc)) in isAtEndOfMacroExpansion() 821 if (expansionLoc.isFileID()) { in isAtEndOfMacroExpansion() 824 *MacroEnd = expansionLoc; in isAtEndOfMacroExpansion() 828 return isAtEndOfMacroExpansion(expansionLoc, SM, LangOpts, MacroEnd); in isAtEndOfMacroExpansion()
|