| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ContainerDataPointerCheck.cpp | 51 hasUnaryOperand( in registerMatchers() 55 hasUnaryOperand(expr(anyOf(hasType(Container), in registerMatchers() 70 hasUnaryOperand(expr( in registerMatchers()
|
| H A D | RedundantSmartptrGetCheck.cpp | 71 unaryOperator(hasOperatorName("*"), hasUnaryOperand(callToGet(Smartptr))), in registerMatchersForGetArrowStart() 78 unaryOperator(hasOperatorName("!"), hasUnaryOperand(CallToGetAsBool)), in registerMatchersForGetArrowStart()
|
| H A D | ContainerSizeEmptyCheck.cpp | 163 hasUnaryOperand( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | ShrinkToFitCheck.cpp | 34 0, anyOf(Shrinkable, unaryOperator(hasUnaryOperand(Shrinkable)))), in registerMatchers() 38 unaryOperator(hasUnaryOperand(BoundShrinkable))), in registerMatchers()
|
| H A D | UseDefaultMemberInitCheck.cpp | 202 hasUnaryOperand(integerLiteral())), in registerMatchers() 205 hasUnaryOperand(floatLiteral())), in registerMatchers()
|
| H A D | LoopConvertCheck.cpp | 118 hasUnaryOperand(incrementVarMatcher())))) in makeArrayLoopMatcher() 208 hasUnaryOperand(declRefExpr( in makeIteratorLoopMatcher() 295 hasUnaryOperand(incrementVarMatcher())))) in makePseudoArrayLoopMatcher()
|
| H A D | UseEqualsDefaultCheck.cpp | 142 hasOperatorName("*"), hasUnaryOperand(cxxThisExpr())))))), in isCopyAssignmentAndCanBeDefaulted()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnconventionalAssignOperatorCheck.cpp | 56 anyOf(unaryOperator(hasOperatorName("*"), hasUnaryOperand(cxxThisExpr())), in registerMatchers() 64 hasUnaryOperand(cxxThisExpr()))))))))); in registerMatchers()
|
| H A D | StaticAssertCheck.cpp | 31 hasOperatorName("!"), hasUnaryOperand(ignoringImpCasts(stringLiteral()))); in registerMatchers() 52 AssertExprRoot, unaryOperator(hasUnaryOperand( in registerMatchers()
|
| H A D | RedundantExpressionCheck.cpp | 592 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 D | AssertSideEffectCheck.cpp | 107 hasUnaryOperand(unaryOperator( in registerMatchers() 109 hasUnaryOperand(DescendantWithSideEffect)))))) in registerMatchers()
|
| H A D | SizeofExpressionCheck.cpp | 88 anyOf(integerLiteral(), unaryOperator(hasUnaryOperand(IntegerExpr)), in registerMatchers() 141 unaryOperator(hasUnaryOperand(ArrayExpr), unless(hasOperatorName("*"))), in registerMatchers() 148 hasOperatorName("&"), hasUnaryOperand(ignoringParenImpCasts( in registerMatchers()
|
| H A D | PosixReturnCheck.cpp | 57 hasUnaryOperand(integerLiteral())))) in registerMatchers()
|
| H A D | BoolPointerImplicitConversionCheck.cpp | 50 hasUnaryOperand(RefMatcher))), in checkImpl()
|
| H A D | SuspiciousStringCompareCheck.cpp | 125 hasUnaryOperand(ignoringParenImpCasts( in registerMatchers()
|
| H A D | StringConstructorCheck.cpp | 64 hasUnaryOperand(integerLiteral(unless(equals(0))))))); in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 100 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 D | SignedBitwiseCheck.cpp | 71 unaryOperator(hasOperatorName("~"), hasUnaryOperand(SignedIntegerOperand)) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | NonTrivialTypesLibcMemoryCallsCheck.cpp | 76 hasUnaryOperand(declRefExpr( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | DeclRefExprUtils.cpp | 82 hasOperatorName("&"), hasUnaryOperand(DeclRefToVar)))))))), in constReferenceDeclRefExprs()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCAutoreleaseWriteChecker.cpp | 186 hasUnaryOperand( in checkASTCodeBody()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientVectorOperationCheck.cpp | 138 hasUnaryOperand(RefersToLoopVar))), in addMatcher()
|
| H A D | UnnecessaryCopyInitialization.cpp | 121 hasUnaryOperand(OldVarDeclRef))))); in AST_MATCHER_FUNCTION_P()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTMatchersTutorial.rst | 367 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 D | ExprMutationAnalyzer.cpp | 268 hasUnaryOperand(canResolveToExpr(equalsNode(Exp)))); in findDirectMutation() 309 hasUnaryOperand(canResolveToExpr(equalsNode(Exp)))); in findDirectMutation()
|