Home
last modified time | relevance | path

Searched refs:Uop (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp220 if (const auto *Uop = dyn_cast<UnaryOperator>(E)) in getDereferenceOperand() local
221 return Uop->getOpcode() == UO_Deref ? Uop->getSubExpr() : nullptr; in getDereferenceOperand()
326 static bool isDereferenceOfUop(const UnaryOperator *Uop, in isDereferenceOfUop() argument
328 return Uop->getOpcode() == UO_Deref && in isDereferenceOfUop()
329 exprReferencesVariable(IndexVar, Uop->getSubExpr()); in isDereferenceOfUop()
504 bool ForLoopIndexUseVisitor::TraverseUnaryOperator(UnaryOperator *Uop) { in TraverseUnaryOperator() argument
507 if (isDereferenceOfUop(Uop, IndexVar)) { in TraverseUnaryOperator()
508 addUsage(Usage(Uop)); in TraverseUnaryOperator()
512 return VisitorBase::TraverseUnaryOperator(Uop); in TraverseUnaryOperator()
DLoopConvertUtils.h354 bool TraverseUnaryOperator(UnaryOperator *Uop);
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMisplacedWideningCastCheck.cpp81 } else if (const auto *Uop = dyn_cast<UnaryOperator>(E)) { in getMaxCalculationWidth() local
83 if (Uop->getOpcode() == UO_Not) in getMaxCalculationWidth()
86 QualType T = Uop->getType(); in getMaxCalculationWidth()