Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp629 const auto *OperatorDecl = in canOverloadedOperatorArgsBeModified() local
633 if (!OperatorDecl) in canOverloadedOperatorArgsBeModified()
636 unsigned ParamCount = OperatorDecl->getNumParams(); in canOverloadedOperatorArgsBeModified()
642 !OperatorDecl->getType()->castAs<FunctionType>()->isConst()) in canOverloadedOperatorArgsBeModified()
645 if (isNonConstReferenceType(OperatorDecl->getParamDecl(0)->getType())) in canOverloadedOperatorArgsBeModified()
649 isNonConstReferenceType(OperatorDecl->getParamDecl(1)->getType()); in canOverloadedOperatorArgsBeModified()