Home
last modified time | relevance | path

Searched refs:unless (Results 1 – 25 of 2450) sorted by relevance

12345678910>>...98

/external/llvm-project/clang/test/Sema/
Dpragma-attribute-strict-subjects.c20 …__((annotate("subRuleContradictions3"))), apply_to = any(variable, variable(unless(is_parameter))))
25 …SubRuleContradictions1"))), apply_to = any(variable(is_parameter), variable(unless(is_parameter))))
30 …__((annotate("negatedSubRuleContradictions2"))), apply_to = any(variable(unless(is_parameter)), va…
42 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)…
46 … push (__attribute__((abi_tag("a"))), apply_to = any(function, variable, record(unless(is_union))))
50 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(variable, record(unless
54 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(function, record(unless
58 …ribute__((abi_tag("a"))), apply_to = any(enum_constant, function, record(unless(is_union)), variab…
63 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(function, record(unless
77 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)…
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DOwningMemoryCheck.cpp73 cxxDeleteExpr(hasDescendant(declRefExpr(unless(ConsideredOwner)) in registerMatchers()
89 expr(unless(ignoringImpCasts(ConsideredOwner)), in registerMatchers()
99 hasRHS(unless(ConsideredOwner))) in registerMatchers()
107 varDecl(hasInitializer(unless(ConsideredOwner)), IsOwnerType) in registerMatchers()
118 allOf(unless(ConsideredOwner), unless(parenListExpr())))) in registerMatchers()
130 hasLHS(unless(IsOwnerType)), in registerMatchers()
142 unless(IsOwnerType)), in registerMatchers()
152 expr(unless(ConsideredOwner)).bind("expected_owner_argument"), in registerMatchers()
160 parmVarDecl(unless(IsOwnerType)) in registerMatchers()
169 unless(returns(qualType(hasDeclaration(OwnerDecl))))) in registerMatchers()
[all …]
DInitVariablesCheck.cpp41 varDecl(unless(hasInitializer(anything())), unless(isInstantiated()), in registerMatchers()
42 isLocalVarDecl(), unless(isStaticLocal()), isDefinition(), in registerMatchers()
43 unless(hasParent(cxxCatchStmt())), in registerMatchers()
46 unless(equalsBoundNode(BadDecl))) in registerMatchers()
DProBoundsArrayToPointerDecayCheck.cpp59 unless(hasParent(arraySubscriptExpr())), in registerMatchers()
60 unless(hasParentIgnoringImpCasts(explicitCastExpr())), in registerMatchers()
61 unless(isInsideOfRangeBeginEndStmt()), in registerMatchers()
62 unless(hasSourceExpression(ignoringParens(stringLiteral())))) in registerMatchers()
/external/llvm-project/clang/test/Parser/
Dpragma-attribute.cpp12 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = variable(unless(is_param…
15 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(unless(is_p…
80 …h(__attribute__((annotate("test"))), apply_to = any (function, variable (unless) )) // expected-er…
81 …h(__attribute__((annotate("test"))), apply_to = any (function, variable (unless() )) // expected-e…
82 …ush(__attribute__((annotate("test"))), apply_to = any(function, variable(unless(is)))) // expected…
83 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( variable(unless(is_…
84 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( variable(unless(is_…
85 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( variable unless is_…
86 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any( variable(unless is_…
87 …ush(__attribute__((annotate("test"))), apply_to = any(function, variable(unless(42)))) // expecte…
[all …]
/external/llvm-project/clang/test/Misc/
Dpragma-attribute-strict-subjects.c18 …__((annotate("negatedSubRuleContradictions2"))), apply_to = any(variable(unless(is_parameter)), va…
53 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(function, record(unless
109 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)…
141 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(variable, record(unless
157 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)…
173 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)…
190 #pragma clang attribute push (__attribute__((abi_tag("a"))), apply_to = any(record(unless(is_union)…
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUnhandledSelfAssignmentCheck.cpp34 isDefinition(), unless(anyOf(isDeleted(), isImplicit(), isDefaulted()))); in registerMatchers()
43 const auto HasNoSelfCheck = cxxMethodDecl(unless(anyOf( in registerMatchers()
54 ofClass(cxxRecordDecl(unless(hasAncestor(classTemplateDecl())))), in registerMatchers()
74 cxxMethodDecl(unless(hasDescendant(cxxMemberCallExpr(callee(cxxMethodDecl( in registerMatchers()
98 unless(HasNonTemplateSelfCopy), in registerMatchers()
99 unless(HasTemplateSelfCopy), in registerMatchers()
DForwardDeclarationNamespaceCheck.cpp36 unless(isImplicit()), unless(hasAncestor(cxxRecordDecl())), in registerMatchers()
37 unless(isInstantiated()), unless(IsInSpecialization), in registerMatchers()
38 unless(classTemplateSpecializationDecl())) in registerMatchers()
DSizeofContainerCheck.cpp21 expr(unless(isInTemplateInstantiation()), in registerMatchers()
25 unless(matchesName("^::std::(bitset|array)$")), in registerMatchers()
30 unless(hasAncestor(binaryOperator( in registerMatchers()
DSignedCharMisuseCheck.cpp55 qualType(isAnyCharacter(), isSignedInteger(), unless(IntTypedef)))); in charCastExpression()
58 isAnyCharacter(), unless(isSignedInteger()), unless(IntTypedef)))); in charCastExpression()
80 qualType(isInteger(), unless(isAnyCharacter()), unless(booleanType())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantMemberInitCheck.cpp32 cxxRecordDecl(unless(isTriviallyDefaultConstructible())))))) in registerMatchers()
39 unless(isDelegatingConstructor()), in registerMatchers()
40 ofClass(unless( in registerMatchers()
45 unless(forField(hasType(isConstQualified()))), in registerMatchers()
46 unless(forField(hasParent(recordDecl(isUnion()))))) in registerMatchers()
DImplicitBoolConversionCheck.cpp264 expr(anyOf(allOf(isMacroExpansion(), unless(isNULLMacroExpansion())), in registerMatchers()
274 unless(exceptionCases)); in registerMatchers()
288 unless(hasParent( in registerMatchers()
291 unless(exceptionCases), unless(has(boolXor)), in registerMatchers()
295 unless(isInTemplateInstantiation()), in registerMatchers()
296 unless(hasAncestor(functionTemplateDecl()))) in registerMatchers()
319 unless(hasParent( in registerMatchers()
323 unless(hasParent(bitfieldConstruct)), in registerMatchers()
327 unless(isInTemplateInstantiation()), in registerMatchers()
328 unless(hasAncestor(functionTemplateDecl())))), in registerMatchers()
DUseAnyOfAllOfCheck.cpp50 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(true))))); in registerMatchers()
52 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(false))))); in registerMatchers()
58 unless(anyOf(hasDescendant(breakStmt()), in registerMatchers()
68 unless(anyOf(hasDescendant(breakStmt()), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DPreferIsaOrDynCastInConditionalsCheck.cpp29 allOf(unless(isMacroID()), unless(cxxMemberCallExpr()), in registerMatchers()
38 callExpr(allOf(unless(isMacroID()), unless(cxxMemberCallExpr()), in registerMatchers()
46 unless(isMacroID()), unless(cxxMemberCallExpr()), in registerMatchers()
59 allOf(unless(isExpansionInFileMatching( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseAutoCheck.cpp205 return declStmt(unless(has( in makeIteratorDeclMatcher()
206 varDecl(anyOf(unless(hasWrittenNonListInitializer()), in makeIteratorDeclMatcher()
207 unless(hasType(isSugarFor(anyOf( in makeIteratorDeclMatcher()
215 unless(has(varDecl(anyOf( in makeDeclWithNewMatcher()
216 unless(hasInitializer(ignoringParenImpCasts(cxxNewExpr()))), in makeDeclWithNewMatcher()
233 unless(has(varDecl(unless(hasInitializer(explicitCastExpr())))))) in makeDeclWithCastMatcher()
253 return declStmt(unless(has(varDecl( in makeDeclWithTemplateCastMatcher()
254 unless(hasInitializer(ignoringImplicit(TemplateCall))))))) in makeDeclWithTemplateCastMatcher()
263 has(varDecl(unless(isImplicit()))), in makeCombinedMatcher()
265 unless(has(varDecl(anyOf(hasType(autoType()), in makeCombinedMatcher()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNonPrivateMemberVariablesInClassesCheck.cpp26 return hasMethod(unless(anyOf(isStaticStorageClass(), isImplicit()))) in AST_MATCHER()
31 return cxxRecordDecl(has(fieldDecl(unless(isPublic())))) in AST_MATCHER()
64 unless(hasNonPublicMemberVariable())); in registerMatchers()
72 : fieldDecl(unless(isPrivate())); in registerMatchers()
80 unless(ShouldIgnoreRecord), in registerMatchers()
DUnconventionalAssignOperatorCheck.cpp22 pointee(unless(isConstQualified()), in registerMatchers()
29 cxxMethodDecl(unless(anyOf(isDeleted(), isPrivate(), isImplicit())), in registerMatchers()
37 cxxMethodDecl(IsAssign, unless(HasGoodReturnType)).bind("ReturnType"), in registerMatchers()
41 anyOf(lValueReferenceType(pointee(unless(isConstQualified()))), in registerMatchers()
54 const auto IsBadReturnStatement = returnStmt(unless(has(ignoringParenImpCasts( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGlobalVariableDeclarationCheck.cpp70 varDecl(hasGlobalStorage(), unless(hasType(isConstQualified())), in registerMatchers()
71 unless(isLocalVariable()), unless(matchesName("::g[A-Z]"))) in registerMatchers()
75 unless(isLocalVariable()), in registerMatchers()
76 unless(matchesName("::(k[A-Z])|([A-Z][A-Z0-9])"))) in registerMatchers()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp109 referenceType(pointee(unless(isConstQualified())))); in __anon6bbd7cfa0402()
114 pointerType(pointee(unless(isConstQualified())))); in __anon6bbd7cfa0502()
119 hasMethod(cxxConstructorDecl(isMoveConstructor(), unless(isDeleted()))), in __anon6bbd7cfa0602()
120 hasMethod(cxxMethodDecl(isMoveAssignmentOperator(), unless(isDeleted()))), in __anon6bbd7cfa0602()
121 unless(anyOf(hasMethod(cxxConstructorDecl(isCopyConstructor(), in __anon6bbd7cfa0602()
122 unless(isDeleted()))), in __anon6bbd7cfa0602()
124 unless(isDeleted())))))); in __anon6bbd7cfa0602()
211 hasAncestor(typeLoc(unless( in isUnevaluated()
216 unaryExprOrTypeTraitExpr(unless(sizeOfExpr( in isUnevaluated()
222 unless(isPotentiallyEvaluated())), in isUnevaluated()
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllSymbols.cpp126 allOf(unless(isImplicit()), unless(isExpansionInMainFile())); in registerMatchers()
137 allOf(HasNSOrTUCtxMatcher, unless(IsInSpecialization), in registerMatchers()
138 unless(ast_matchers::isTemplateInstantiation()), in registerMatchers()
139 unless(isInstantiated()), unless(isFullySpecialized())); in registerMatchers()
156 unless(parmVarDecl())); in registerMatchers()
167 auto Functions = functionDecl(CommonFilter, unless(hasParent(friendDecl())), in registerMatchers()
193 CommonFilter, unless(isInScopedEnum()), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DDurationDivisionCheck.cpp31 hasImplicitDestinationType(qualType(unless(isInteger()))), in registerMatchers()
32 unless(hasParent(cxxStaticCastExpr())), in registerMatchers()
33 unless(hasParent(cStyleCastExpr())), in registerMatchers()
34 unless(isInTemplateInstantiation()))), in registerMatchers()
DUpgradeDurationConversionsCheck.cpp40 unless(hasTemplateArgument(0, refersToType(builtinType()))), in registerMatchers()
52 unless(hasTemplateArgument(0, refersToType(builtinType()))), in registerMatchers()
64 unless(hasTemplateArgument(0, refersToType(builtinType()))), in registerMatchers()
78 unless(hasTemplateArgument(0, refersToType(builtinType()))), in registerMatchers()
111 unless(hasParent(functionTemplateDecl())))), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DStaticObjectExceptionCheck.cpp28 unless(anyOf(isConstexpr(), hasType(cxxRecordDecl(isLambda())), in registerMatchers()
31 cxxConstructorDecl(unless(isNoThrow())).bind("func")))), in registerMatchers()
33 functionDecl(unless(isNoThrow())).bind("func")))), in registerMatchers()
35 functionDecl(unless(isNoThrow())).bind("func")))))) in registerMatchers()
DMutatingCopyCheck.cpp29 allOf(unless(hasDescendant(expr(unless(MemberExprOrSourceObject)))), in registerMatchers()
43 unless(hasDescendant(expr(unless(MemberExprOrSelf)))), MemberExprOrSelf); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryValueParamCheck.cpp37 unless(hasAncestor(callExpr()))), in isReferencedOutsideOfCallExpr()
48 unless(hasAncestor(stmt(anyOf(forStmt(), cxxForRangeStmt(), in hasLoopStmtAncestor()
80 unless(anyOf(hasCanonicalType(referenceType()), in registerMatchers()
87 functionDecl(hasBody(stmt()), isDefinition(), unless(isImplicit()), in registerMatchers()
88 unless(cxxMethodDecl(anyOf(isOverride(), isFinal()))), in registerMatchers()
90 unless(isInstantiated()), decl().bind("functionDecl"))), in registerMatchers()

12345678910>>...98