| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | StringviewNullptrCheck.cpp | 115 hasInitializer(ignoringImpCasts( in StringviewNullptrCheckImpl() 153 hasInClassInitializer(ignoringImpCasts( in StringviewNullptrCheckImpl() 162 hasInClassInitializer(ignoringImpCasts( in StringviewNullptrCheckImpl() 186 hasInitializer(ignoringImpCasts( in StringviewNullptrCheckImpl() 215 makeRule(callExpr(hasAnyArgument(ignoringImpCasts( in StringviewNullptrCheckImpl() 231 hasEitherOperand(ignoringImpCasts( in StringviewNullptrCheckImpl() 240 hasOperands(ignoringImpCasts(BasicStringViewConstructingFromNullExpr), in StringviewNullptrCheckImpl() 251 hasOperands(ignoringImpCasts(BasicStringViewConstructingFromNullExpr), in StringviewNullptrCheckImpl() 261 ignoringImpCasts(BasicStringViewConstructingFromNullExpr))), in StringviewNullptrCheckImpl() 268 ignoringImpCasts( in StringviewNullptrCheckImpl()
|
| H A D | NotNullTerminatedResultCheck.cpp | 524 auto DREHasInit = ignoringImpCasts( in AST_MATCHER_P() 531 auto DREHasDefinition = ignoringImpCasts(declRefExpr( in AST_MATCHER_P() 535 hasRHS(ignoringImpCasts(InnerMatcher))))))))); in AST_MATCHER_P() 553 auto HasIncOp = anyOf(ignoringImpCasts(IncOp), hasDescendant(IncOp)); in registerMatchers() 554 auto HasDecOp = anyOf(ignoringImpCasts(DecOp), hasDescendant(DecOp)); in registerMatchers() 608 auto DREHasReturnWithoutInc = ignoringImpCasts( in registerMatchers() 633 auto DestCXXNewExpr = ignoringImpCasts( in registerMatchers() 649 auto AnyOfDestDecl = ignoringImpCasts( in registerMatchers() 660 hasRHS(ignoringImpCasts( in registerMatchers() 669 ignoringImpCasts(anyOf(stringLiteral().bind(SrcExprName), in registerMatchers() [all …]
|
| H A D | TerminatingContinueCheck.cpp | 23 doStmt(hasCondition(ignoringImpCasts( in registerMatchers()
|
| H A D | MisplacedOperatorInStrlenInAllocCheck.cpp | 29 hasAnyArgument(ignoringImpCasts( in registerMatchers()
|
| H A D | StringIntegerAssignmentCheck.cpp | 30 ignoringImpCasts( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | SignedBitwiseCheck.cpp | 34 ? expr(ignoringImpCasts(hasType(isSignedInteger())), in registerMatchers() 36 : expr(ignoringImpCasts(hasType(isSignedInteger())))) in registerMatchers() 47 const auto IsStdBitmask = ignoringImpCasts(declRefExpr(hasType(BitmaskType))); in registerMatchers()
|
| H A D | MultiwayPathsCoveredCheck.cpp | 32 anyOf(ignoringImpCasts(memberExpr(hasDeclaration( in registerMatchers() 34 ignoringImpCasts(declRefExpr().bind("non-enum-condition"))), in registerMatchers() 38 unless(ignoringImpCasts( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProBoundsPointerArithmeticCheck.cpp | 33 unless(hasLHS(ignoringImpCasts(declRefExpr(to(isImplicit())))))) in registerMatchers() 45 hasBase(ignoringImpCasts( in registerMatchers()
|
| H A D | ProBoundsConstantArrayIndexCheck.cpp | 42 Finder->addMatcher(arraySubscriptExpr(hasBase(ignoringImpCasts(hasType( in registerMatchers()
|
| H A D | OwningMemoryCheck.cpp | 79 unless(ignoringImpCasts(ConsideredOwner)), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientStringConcatenationCheck.cpp | 37 hasAnyArgument(ignoringImpCasts(declRefExpr(BasicStringType)))); in registerMatchers() 42 hasAnyArgument(ignoringImpCasts(declRefExpr(BasicStringType))), in registerMatchers()
|
| H A D | UnnecessaryCopyInitialization.cpp | 119 ignoringImpCasts(OldVarDeclRef), in AST_MATCHER_FUNCTION_P() 120 ignoringImpCasts(unaryOperator(hasOperatorName("&"), in AST_MATCHER_FUNCTION_P()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | DurationUnnecessaryConversionCheck.cpp | 35 hasArgument(0, ignoringImpCasts(integerLiteral(equals(1)))))); in registerMatchers() 57 auto ScalarMatcher = ignoringImpCasts( in registerMatchers()
|
| H A D | DurationFactoryScaleCheck.cpp | 119 ignoringImpCasts(anyOf( in registerMatchers() 126 hasEitherOperand(ignoringImpCasts( in registerMatchers()
|
| H A D | DurationConversionCastCheck.cpp | 22 auto CallMatcher = ignoringImpCasts(callExpr( in registerMatchers()
|
| H A D | StrCatAppendCheck.cpp | 50 hasArgument(0, ignoringImpCasts(declRefExpr(to(equalsBoundNode("LHS")), in registerMatchers()
|
| H A D | FasterStrsplitDelimiterCheck.cpp | 66 auto StringViewArg = ignoringElidableConstructorCall(ignoringImpCasts( in registerMatchers()
|
| H A D | DurationRewriter.h | 134 hasEitherOperand(ignoringImpCasts(callExpr(callee(funcDecl))))); in AST_MATCHER_FUNCTION_P()
|
| H A D | DurationRewriter.cpp | 166 "val", match(expr(ignoringImpCasts(ZeroMatcher)).bind("val"), Node, in isLiteralZero()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | DeclRefExprUtils.cpp | 75 hasInitializer(ignoringImpCasts(DeclRefToVar)))))), in constReferenceDeclRefExprs() 81 hasInitializer(ignoringImpCasts(unaryOperator( in constReferenceDeclRefExprs()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | StaticAssertCheck.cpp | 31 hasOperatorName("!"), hasUnaryOperand(ignoringImpCasts(stringLiteral()))); in registerMatchers() 42 hasEitherOperand(ignoringImpCasts(stringLiteral().bind("assertMSG"))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseUncaughtExceptionsCheck.cpp | 35 auto DirectCallToUncaughtException = callee(expr(ignoringImpCasts( in registerMatchers()
|
| H A D | UseEqualsDefaultCheck.cpp | 53 return ignoringImpCasts( in accessToFieldInVar()
|
| H A D | UseAutoCheck.cpp | 243 has(ignoringImpCasts(declRefExpr(hasExplicitTemplateArgs())))); in makeDeclWithTemplateCastMatcher()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/ |
| H A D | VariantValueTest.cpp | 62 Value = VariantMatcher::SingleMatcher(ignoringImpCasts(expr())); in TEST()
|