Home
last modified time | relevance | path

Searched refs:hasUnaryOperand (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DContainerDataPointerCheck.cpp51 hasUnaryOperand( in registerMatchers()
55 hasUnaryOperand(expr(anyOf(hasType(Container), in registerMatchers()
70 hasUnaryOperand(expr( in registerMatchers()
H A DRedundantSmartptrGetCheck.cpp71 unaryOperator(hasOperatorName("*"), hasUnaryOperand(callToGet(Smartptr))), in registerMatchersForGetArrowStart()
78 unaryOperator(hasOperatorName("!"), hasUnaryOperand(CallToGetAsBool)), in registerMatchersForGetArrowStart()
H A DContainerSizeEmptyCheck.cpp163 hasUnaryOperand( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DShrinkToFitCheck.cpp34 0, anyOf(Shrinkable, unaryOperator(hasUnaryOperand(Shrinkable)))), in registerMatchers()
38 unaryOperator(hasUnaryOperand(BoundShrinkable))), in registerMatchers()
H A DUseDefaultMemberInitCheck.cpp202 hasUnaryOperand(integerLiteral())), in registerMatchers()
205 hasUnaryOperand(floatLiteral())), in registerMatchers()
H A DLoopConvertCheck.cpp118 hasUnaryOperand(incrementVarMatcher())))) in makeArrayLoopMatcher()
208 hasUnaryOperand(declRefExpr( in makeIteratorLoopMatcher()
295 hasUnaryOperand(incrementVarMatcher())))) in makePseudoArrayLoopMatcher()
H A DUseEqualsDefaultCheck.cpp142 hasOperatorName("*"), hasUnaryOperand(cxxThisExpr())))))), in isCopyAssignmentAndCanBeDefaulted()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUnconventionalAssignOperatorCheck.cpp56 anyOf(unaryOperator(hasOperatorName("*"), hasUnaryOperand(cxxThisExpr())), in registerMatchers()
64 hasUnaryOperand(cxxThisExpr()))))))))); in registerMatchers()
H A DStaticAssertCheck.cpp31 hasOperatorName("!"), hasUnaryOperand(ignoringImpCasts(stringLiteral()))); in registerMatchers()
52 AssertExprRoot, unaryOperator(hasUnaryOperand( in registerMatchers()
H A DRedundantExpressionCheck.cpp592 hasUnaryOperand(anyOf(CastExpr, RelationalExpr))) in matchRelationalIntegerConstantExpr()
598 hasUnaryOperand(unaryOperator( in matchRelationalIntegerConstantExpr()
600 hasUnaryOperand(anyOf(CastExpr, RelationalExpr))))); in matchRelationalIntegerConstantExpr()
933 hasUnaryOperand(ignoringParenImpCasts(binaryOperator( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DAssertSideEffectCheck.cpp107 hasUnaryOperand(unaryOperator( in registerMatchers()
109 hasUnaryOperand(DescendantWithSideEffect)))))) in registerMatchers()
H A DSizeofExpressionCheck.cpp88 anyOf(integerLiteral(), unaryOperator(hasUnaryOperand(IntegerExpr)), in registerMatchers()
141 unaryOperator(hasUnaryOperand(ArrayExpr), unless(hasOperatorName("*"))), in registerMatchers()
148 hasOperatorName("&"), hasUnaryOperand(ignoringParenImpCasts( in registerMatchers()
H A DPosixReturnCheck.cpp57 hasUnaryOperand(integerLiteral())))) in registerMatchers()
H A DBoolPointerImplicitConversionCheck.cpp50 hasUnaryOperand(RefMatcher))), in checkImpl()
H A DSuspiciousStringCompareCheck.cpp125 hasUnaryOperand(ignoringParenImpCasts( in registerMatchers()
H A DStringConstructorCheck.cpp64 hasUnaryOperand(integerLiteral(unless(equals(0))))))); in registerMatchers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp100 hasUnaryOperand(ignoringParenImpCasts( in changeIntBoundNode()
127 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
159 hasUnaryOperand(declRefExpr( in forLoopMatcher()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/
H A DSignedBitwiseCheck.cpp71 unaryOperator(hasOperatorName("~"), hasUnaryOperand(SignedIntegerOperand)) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DNonTrivialTypesLibcMemoryCallsCheck.cpp76 hasUnaryOperand(declRefExpr( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp82 hasOperatorName("&"), hasUnaryOperand(DeclRefToVar)))))))), in constReferenceDeclRefExprs()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCAutoreleaseWriteChecker.cpp186 hasUnaryOperand( in checkASTCodeBody()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientVectorOperationCheck.cpp138 hasUnaryOperand(RefersToLoopVar))), in addMatcher()
H A DUnnecessaryCopyInitialization.cpp121 hasUnaryOperand(OldVarDeclRef))))); in AST_MATCHER_FUNCTION_P()
/llvm-project-15.0.7/clang/docs/
H A DLibASTMatchersTutorial.rst367 hasUnaryOperand(declRefExpr())))
376 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
385 hasUnaryOperand(declRefExpr(to(
492 hasUnaryOperand(declRefExpr(
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp268 hasUnaryOperand(canResolveToExpr(equalsNode(Exp)))); in findDirectMutation()
309 hasUnaryOperand(canResolveToExpr(equalsNode(Exp)))); in findDirectMutation()

12