Home
last modified time | relevance | path

Searched refs:MaybeCallArg (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DTimeSubtractionCheck.cpp162 const auto *MaybeCallArg = selectFirst<const CallExpr>( in check() local
168 if (MaybeCallArg && MaybeCallArg->getArg(0)->IgnoreImpCasts() == BinOp && in check()
169 !InsideMacroDefinition(Result, MaybeCallArg->getSourceRange())) { in check()
174 bool NeedParens = parensRequired(Result, MaybeCallArg); in check()
177 MaybeCallArg, in check()
DDurationRewriter.cpp75 if (const auto *MaybeCallArg = selectFirst<const Expr>( in rewriteInverseDurationCall() local
81 return tooling::fixit::getText(*MaybeCallArg, *Result.Context).str(); in rewriteInverseDurationCall()
93 if (const auto *MaybeCallArg = selectFirst<const Expr>( in rewriteInverseTimeCall() local
97 return tooling::fixit::getText(*MaybeCallArg, *Result.Context).str(); in rewriteInverseTimeCall()