Home
last modified time | relevance | path

Searched refs:AST_MATCHER (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNodiscardCheck.cpp33 AST_MATCHER(CXXMethodDecl, isOverloadedOperator) { in AST_MATCHER() function
37 AST_MATCHER(CXXMethodDecl, isConversionOperator) { in AST_MATCHER() function
42 AST_MATCHER(CXXMethodDecl, hasClassMutableFields) { in AST_MATCHER() function
47 AST_MATCHER(ParmVarDecl, hasParameterPack) { in AST_MATCHER() function
51 AST_MATCHER(CXXMethodDecl, hasTemplateReturnType) { in AST_MATCHER() function
57 AST_MATCHER(CXXMethodDecl, isDefinitionOrInline) { in AST_MATCHER() function
61 AST_MATCHER(QualType, isInstantiationDependentType) { in AST_MATCHER() function
64 AST_MATCHER(QualType, isNonConstReferenceOrPointer) { in AST_MATCHER() function
DAvoidCArraysCheck.cpp17 AST_MATCHER(clang::TypeLoc, hasValidBeginLoc) { in AST_MATCHER() function
29 AST_MATCHER(clang::RecordDecl, isExternCContext) { in AST_MATCHER() function
33 AST_MATCHER(clang::ParmVarDecl, isArgvOfMain) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DConvertMemberFunctionsToStatic.cpp24 AST_MATCHER(CXXMethodDecl, isStatic) { return Node.isStatic(); } in AST_MATCHER() function
26 AST_MATCHER(CXXMethodDecl, hasTrivialBody) { return Node.hasTrivialBody(); } in AST_MATCHER() function
28 AST_MATCHER(CXXMethodDecl, isOverloadedOperator) { in AST_MATCHER() function
32 AST_MATCHER(CXXRecordDecl, hasAnyDependentBases) { in AST_MATCHER() function
36 AST_MATCHER(CXXMethodDecl, isTemplate) { in AST_MATCHER() function
40 AST_MATCHER(CXXMethodDecl, isDependentContext) { in AST_MATCHER() function
44 AST_MATCHER(CXXMethodDecl, isInsideMacroDefinition) { in AST_MATCHER() function
58 AST_MATCHER(CXXMethodDecl, usesThis) { in AST_MATCHER() function
DMakeMemberFunctionConstCheck.cpp22 AST_MATCHER(CXXMethodDecl, isStatic) { return Node.isStatic(); } in AST_MATCHER() function
24 AST_MATCHER(CXXMethodDecl, hasTrivialBody) { return Node.hasTrivialBody(); } in AST_MATCHER() function
26 AST_MATCHER(CXXRecordDecl, hasAnyDependentBases) { in AST_MATCHER() function
30 AST_MATCHER(CXXMethodDecl, isTemplate) { in AST_MATCHER() function
34 AST_MATCHER(CXXMethodDecl, isDependentContext) { in AST_MATCHER() function
38 AST_MATCHER(CXXMethodDecl, isInsideMacroDefinition) { in AST_MATCHER() function
203 AST_MATCHER(CXXMethodDecl, usesThisAsConst) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DMatchers.h19 AST_MATCHER(BinaryOperator, isRelationalOperator) { in AST_MATCHER() function
23 AST_MATCHER(BinaryOperator, isEqualityOperator) { return Node.isEqualityOp(); } in AST_MATCHER() function
25 AST_MATCHER(QualType, isExpensiveToCopy) { in AST_MATCHER() function
31 AST_MATCHER(RecordDecl, isTriviallyDefaultConstructible) { in AST_MATCHER() function
36 AST_MATCHER(QualType, isTriviallyDestructible) { in AST_MATCHER() function
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h486 AST_MATCHER(Decl, isPublic) { in AST_MATCHER() function
502 AST_MATCHER(Decl, isProtected) { in AST_MATCHER() function
518 AST_MATCHER(Decl, isPrivate) { in AST_MATCHER() function
533 AST_MATCHER(FieldDecl, isBitField) { in AST_MATCHER() function
556 AST_MATCHER(Decl, isImplicit) { in AST_MATCHER() function
810 AST_MATCHER(TemplateArgument, isIntegral) { in AST_MATCHER() function
2241 AST_MATCHER(CXXRecordDecl, isLambda) { in AST_MATCHER() function
2494 AST_MATCHER(ObjCMessageExpr, hasNullSelector) { in AST_MATCHER() function
2506 AST_MATCHER(ObjCMessageExpr, hasUnarySelector) { in AST_MATCHER() function
2522 AST_MATCHER(ObjCMessageExpr, hasKeywordSelector) { in AST_MATCHER() function
[all …]
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h669 AST_MATCHER(FieldDecl, isBitField) { in AST_MATCHER() function
714 AST_MATCHER(FunctionDecl, isMain) { in AST_MATCHER() function
737 AST_MATCHER(Decl, isImplicit) { in AST_MATCHER() function
999 AST_MATCHER(Expr, isInstantiationDependent) { in AST_MATCHER() function
1015 AST_MATCHER(Expr, isTypeDependent) { return Node.isTypeDependent(); } in AST_MATCHER() function
1026 AST_MATCHER(Expr, isValueDependent) { return Node.isValueDependent(); } in AST_MATCHER() function
1161 AST_MATCHER(TemplateArgument, isIntegral) { in AST_MATCHER() function
1466 AST_MATCHER(CallExpr, usesADL) { return Node.usesADL(); } in AST_MATCHER() function
3130 AST_MATCHER(CXXRecordDecl, isLambda) { in AST_MATCHER() function
3406 AST_MATCHER(ObjCMethodDecl, isClassMethod) { in AST_MATCHER() function
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNonPrivateMemberVariablesInClassesCheck.cpp21 AST_MATCHER(CXXRecordDecl, hasMethods) { in AST_MATCHER() function
25 AST_MATCHER(CXXRecordDecl, hasNonStaticNonImplicitMethod) { in AST_MATCHER() function
30 AST_MATCHER(CXXRecordDecl, hasNonPublicMemberVariable) { in AST_MATCHER() function
DRedundantExpressionCheck.cpp438 AST_MATCHER(Expr, isIntegerConstantExpr) { in AST_MATCHER() function
444 AST_MATCHER(BinaryOperator, operandsAreEquivalent) { in AST_MATCHER() function
448 AST_MATCHER(BinaryOperator, nestedOperandsAreEquivalent) { in AST_MATCHER() function
452 AST_MATCHER(ConditionalOperator, expressionsAreEquivalent) { in AST_MATCHER() function
456 AST_MATCHER(CallExpr, parametersAreEquivalent) { in AST_MATCHER() function
461 AST_MATCHER(CXXOperatorCallExpr, nestedParametersAreEquivalent) { in AST_MATCHER() function
465 AST_MATCHER(BinaryOperator, binaryOperatorIsInMacro) { in AST_MATCHER() function
469 AST_MATCHER(ConditionalOperator, conditionalOperatorIsInMacro) { in AST_MATCHER() function
473 AST_MATCHER(Expr, isMacro) { return Node.getExprLoc().isMacroID(); } in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/
DStaticallyConstructedObjectsCheck.cpp18 AST_MATCHER(Expr, isConstantInitializer) { in AST_MATCHER() function
22 AST_MATCHER(VarDecl, isGlobalStatic) { in AST_MATCHER() function
DVirtualInheritanceCheck.cpp20 AST_MATCHER(CXXRecordDecl, hasDirectVirtualBaseClass) { in AST_MATCHER() function
DTrailingReturnCheck.cpp21 AST_MATCHER(FunctionDecl, hasTrailingReturn) { in AST_MATCHER() function
DOverloadedOperatorCheck.cpp18 AST_MATCHER(FunctionDecl, isFuchsiaOverloadedOperator) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/objc/
DSuperSelfCheck.cpp34 AST_MATCHER(ObjCMethodDecl, isInitializer) { in AST_MATCHER() function
71 AST_MATCHER(ObjCMessageExpr, isMessagingSuperInstance) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DNonTrivialTypesLibcMemoryCallsCheck.cpp27 AST_MATCHER(CXXRecordDecl, isTriviallyDefaultConstructible) { in AST_MATCHER() function
30 AST_MATCHER(CXXRecordDecl, isTriviallyCopyable) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DVirtualNearMissCheck.cpp22 AST_MATCHER(CXXMethodDecl, isStatic) { return Node.isStatic(); } in AST_MATCHER() function
24 AST_MATCHER(CXXMethodDecl, isOverloadedOperator) { in AST_MATCHER() function
DIncorrectRoundingsCheck.cpp23 AST_MATCHER(FloatingLiteral, floatHalf) { in AST_MATCHER() function
DDynamicStaticInitializersCheck.cpp19 AST_MATCHER(clang::VarDecl, hasConstantDeclaration) { in AST_MATCHER() function
DUndefinedMemoryManipulationCheck.cpp20 AST_MATCHER(CXXRecordDecl, isNotTriviallyCopyable) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DNoAssemblerCheck.cpp20 AST_MATCHER(VarDecl, isAsm) { return Node.hasAttr<clang::AsmLabelAttr>(); } in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DAvoidGotoCheck.cpp20 AST_MATCHER(GotoStmt, isForwardJumping) { in AST_MATCHER() function
DAvoidNonConstGlobalVariablesCheck.cpp21 AST_MATCHER(VarDecl, isLocalVarDecl) { return Node.isLocalVarDecl(); } in AST_MATCHER() function
DProBoundsArrayToPointerDecayCheck.cpp29 AST_MATCHER(Stmt, isInsideOfRangeBeginEndStmt) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitMakePairCheck.cpp18 AST_MATCHER(DeclRefExpr, hasExplicitTemplateArgs) { in AST_MATCHER() function
/external/llvm-project/clang-tools-extra/clang-tidy/boost/
DUseToStringCheck.cpp18 AST_MATCHER(Type, isStrictlyInteger) { in AST_MATCHER() function

123