Home
last modified time | relevance | path

Searched refs:expansionLoc (Results 1 – 4 of 4) sorted by relevance

/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc431 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
Db_frontend_action.h116 clang::SourceLocation expansionLoc(clang::SourceLocation loc);
/external/clang/lib/Lex/
DLexer.cpp789 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()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp809 SourceLocation expansionLoc; in isAtStartOfMacroExpansion() local
810 if (!SM.isAtStartOfImmediateMacroExpansion(loc, &expansionLoc)) in isAtStartOfMacroExpansion()
813 if (expansionLoc.isFileID()) { in isAtStartOfMacroExpansion()
816 *MacroBegin = expansionLoc; in isAtStartOfMacroExpansion()
820 return isAtStartOfMacroExpansion(expansionLoc, SM, LangOpts, MacroBegin); in isAtStartOfMacroExpansion()
837 SourceLocation expansionLoc; in isAtEndOfMacroExpansion() local
838 if (!SM.isAtEndOfImmediateMacroExpansion(afterLoc, &expansionLoc)) in isAtEndOfMacroExpansion()
841 if (expansionLoc.isFileID()) { in isAtEndOfMacroExpansion()
844 *MacroEnd = expansionLoc; in isAtEndOfMacroExpansion()
848 return isAtEndOfMacroExpansion(expansionLoc, SM, LangOpts, MacroEnd); in isAtEndOfMacroExpansion()