Home
last modified time | relevance | path

Searched refs:ignoringImpCasts (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DStringviewNullptrCheck.cpp115 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 DNotNullTerminatedResultCheck.cpp524 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 DTerminatingContinueCheck.cpp23 doStmt(hasCondition(ignoringImpCasts( in registerMatchers()
H A DMisplacedOperatorInStrlenInAllocCheck.cpp29 hasAnyArgument(ignoringImpCasts( in registerMatchers()
H A DStringIntegerAssignmentCheck.cpp30 ignoringImpCasts( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/
H A DSignedBitwiseCheck.cpp34 ? 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 DMultiwayPathsCoveredCheck.cpp32 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 DProBoundsPointerArithmeticCheck.cpp33 unless(hasLHS(ignoringImpCasts(declRefExpr(to(isImplicit())))))) in registerMatchers()
45 hasBase(ignoringImpCasts( in registerMatchers()
H A DProBoundsConstantArrayIndexCheck.cpp42 Finder->addMatcher(arraySubscriptExpr(hasBase(ignoringImpCasts(hasType( in registerMatchers()
H A DOwningMemoryCheck.cpp79 unless(ignoringImpCasts(ConsideredOwner)), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientStringConcatenationCheck.cpp37 hasAnyArgument(ignoringImpCasts(declRefExpr(BasicStringType)))); in registerMatchers()
42 hasAnyArgument(ignoringImpCasts(declRefExpr(BasicStringType))), in registerMatchers()
H A DUnnecessaryCopyInitialization.cpp119 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 DDurationUnnecessaryConversionCheck.cpp35 hasArgument(0, ignoringImpCasts(integerLiteral(equals(1)))))); in registerMatchers()
57 auto ScalarMatcher = ignoringImpCasts( in registerMatchers()
H A DDurationFactoryScaleCheck.cpp119 ignoringImpCasts(anyOf( in registerMatchers()
126 hasEitherOperand(ignoringImpCasts( in registerMatchers()
H A DDurationConversionCastCheck.cpp22 auto CallMatcher = ignoringImpCasts(callExpr( in registerMatchers()
H A DStrCatAppendCheck.cpp50 hasArgument(0, ignoringImpCasts(declRefExpr(to(equalsBoundNode("LHS")), in registerMatchers()
H A DFasterStrsplitDelimiterCheck.cpp66 auto StringViewArg = ignoringElidableConstructorCall(ignoringImpCasts( in registerMatchers()
H A DDurationRewriter.h134 hasEitherOperand(ignoringImpCasts(callExpr(callee(funcDecl))))); in AST_MATCHER_FUNCTION_P()
H A DDurationRewriter.cpp166 "val", match(expr(ignoringImpCasts(ZeroMatcher)).bind("val"), Node, in isLiteralZero()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp75 hasInitializer(ignoringImpCasts(DeclRefToVar)))))), in constReferenceDeclRefExprs()
81 hasInitializer(ignoringImpCasts(unaryOperator( in constReferenceDeclRefExprs()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DStaticAssertCheck.cpp31 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 DUseUncaughtExceptionsCheck.cpp35 auto DirectCallToUncaughtException = callee(expr(ignoringImpCasts( in registerMatchers()
H A DUseEqualsDefaultCheck.cpp53 return ignoringImpCasts( in accessToFieldInVar()
H A DUseAutoCheck.cpp243 has(ignoringImpCasts(declRefExpr(hasExplicitTemplateArgs())))); in makeDeclWithTemplateCastMatcher()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/
H A DVariantValueTest.cpp62 Value = VariantMatcher::SingleMatcher(ignoringImpCasts(expr())); in TEST()

12