Home
last modified time | relevance | path

Searched refs:HasMember (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DSpecialMemberFunctionsCheck.cpp143 auto HasMember = [&](SpecialMemberFunctionKind Kind) { in checkForMissingMembers() local
156 if (!HasMember(Kind)) in checkForMissingMembers()
161 HasMember(SpecialMemberFunctionKind::NonDefaultDestructor) || in checkForMissingMembers()
163 HasMember(SpecialMemberFunctionKind::DefaultDestructor)) || in checkForMissingMembers()
164 HasMember(SpecialMemberFunctionKind::CopyConstructor) || in checkForMissingMembers()
165 HasMember(SpecialMemberFunctionKind::CopyAssignment) || in checkForMissingMembers()
166 HasMember(SpecialMemberFunctionKind::MoveConstructor) || in checkForMissingMembers()
167 HasMember(SpecialMemberFunctionKind::MoveAssignment); in checkForMissingMembers()
172 HasMember(SpecialMemberFunctionKind::MoveAssignment); in checkForMissingMembers()
175 if (!HasMember(SpecialMemberFunctionKind::DefaultDestructor) && in checkForMissingMembers()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmicrosoft-uuidof-mangling.cpp32 struct HasMember { struct
37 template <class T> void test_uuidofExpr2(decltype(T{}, __uuidof(HasMember::member)) arg) {} in test_uuidofExpr2() argument
49 test_uuidofExpr<HasMember>(GUID{}); in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddefault-arg-closures.cpp25 struct HasMember { struct
28 void UseDependentArg() { throw DependentDefaultCopyArg<HasMember>(); } in UseDependentArg() argument
H A Doverloaded-operator.cpp220 struct HasMember { struct
225 HasMember* operator->(); argument
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DPFTBuilder.h146 static constexpr bool isActionStmt{common::HasMember<A, ActionStmts>};
149 static constexpr bool isOtherStmt{common::HasMember<A, OtherStmts>};
152 static constexpr bool isConstructStmt{common::HasMember<A, ConstructStmts>};
155 static constexpr bool isEndStmt{common::HasMember<A, EndStmts>};
158 static constexpr bool isConstruct{common::HasMember<A, Constructs>};
161 static constexpr bool isDirective{common::HasMember<A, Directives>};
164 static constexpr bool isDeclConstruct{common::HasMember<A, DeclConstructs>};
167 static constexpr bool isIntermediateConstructStmt{common::HasMember<
172 static constexpr bool isNopConstructStmt{common::HasMember<
178 static constexpr bool isExecutableDirective{common::HasMember<
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Dcxx-templates.cpp175 struct HasMember { struct
180 getWithIdentifier<HasMember>(); in test()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtools.h50 if constexpr (common::HasMember<T, AllIntrinsicTypes> || in operator()
128 if constexpr (common::HasMember<A, TypelessExpression>) { in AsGenericExpr()
161 if constexpr (common::HasMember<A, TypelessExpression>) { in IsNumericCategoryExpr()
164 return common::HasMember<ResultType<A>, NumericCategoryTypes>; in IsNumericCategoryExpr()
182 } else if constexpr (!common::HasMember<A, TypelessExpression>) {
276 if constexpr (common::HasMember<decltype(x), decltype(DataRef::u)>) {
872 if constexpr (common::HasMember<T, AllIntrinsicTypes> || in operator()
H A Dtype.h354 constexpr bool IsSpecificIntrinsicType{common::HasMember<T, AllIntrinsicTypes>};
361 common::HasMember<T, LengthlessIntrinsicTypes>};
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dexpression.cpp89 if constexpr (!common::HasMember<decltype(x), TypelessExpression>) { in GetType()
101 if constexpr (common::HasMember<decltype(x), TypelessExpression>) { in Rank()
H A Dfold-implementation.h1337 if constexpr (common::HasMember<OPERAND, AllIntrinsicCategoryTypes>) { in MapOperation()
1378 if constexpr (common::HasMember<RIGHT, AllIntrinsicCategoryTypes>) { in MapOperation()
1435 if constexpr (common::HasMember<RIGHT, AllIntrinsicCategoryTypes>) { in MapOperation()
2043 } else if constexpr (common::HasMember<decltype(x), in Rewrite()
H A Dtools.cpp46 if constexpr (common::HasMember<T, TypelessExpression>) { in Parenthesize()
608 if constexpr (!common::HasMember<cxType, TypelessExpression>) { in ConvertToNumeric()
H A Dfold-integer.cpp721 if constexpr (common::HasMember<T, IntegerTypes>) { in FoldIntrinsicFunction()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dresolve-labels.cpp186 } else if constexpr (common::HasMember<parser::Name, in GetStmtName()
207 if constexpr (common::HasMember<A, LabeledProgramUnitStmts>) { in Pre()
241 if constexpr (common::HasMember<A, LabeledConstructStmts>) { in Pre()
246 } else if constexpr (common::HasMember<A, LabeledConstructEndStmts>) { in Pre()
250 } else if constexpr (!common::HasMember<A, LabeledProgramUnitEndStmts>) { in Pre()
H A Dsemantics.cpp80 if constexpr (common::HasMember<const N *, ConstructNode>) { in Pre()
88 if constexpr (common::HasMember<const N *, ConstructNode>) { in Post()
H A Dcheck-omp-structure.cpp1511 if constexpr (common::HasMember<T, BinaryOperators>) { in IsOperatorValid()
1522 return common::HasMember<T, AllowedBinaryOperators>; in IsOperatorValid()
2732 if constexpr (common::HasMember<Ty, MemberObjectListClauses>) { in GetOmpObjectList()
2734 } else if constexpr (common::HasMember<Ty, in GetOmpObjectList()
H A Dexpression.cpp3028 if constexpr (common::HasMember<common::Indirection<parser::Designator>, in FixMisparsedFunctionReference()
3060 if constexpr (common::HasMember<parser::StructureConstructor, in ExprOrVariable()
3062 common::HasMember<common::Indirection<parser::FunctionReference>, in ExprOrVariable()
H A Dtools.cpp907 return common::HasMember<T, ImageControlStmts>; in operator ()()
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp591 if constexpr (common::HasMember<decltype(label), LabelNodes>) in analyzeIoBranches()
614 } else if constexpr (common::HasMember<A, OtherIOStmts>) { in analyzeIoBranches()
684 if constexpr (common::HasMember<A, MaybeConstructNameWrapper>) { in getConstructName()
696 if constexpr (common::HasMember<A, MaybeConstructNameInTuple>) { in getConstructName()
962 if constexpr (common::HasMember<A, IoStmts>) in analyzeBranches()
H A DConvertType.cpp207 static_assert(!Fortran::common::HasMember< in genTypelessExprType()
H A DVectorSubscripts.cpp56 if constexpr (Fortran::common::HasMember<Designator, ExprVariant>) { in genDesignator()
H A DConvertExpr.cpp363 if constexpr (Fortran::common::HasMember<Parentheses, ExprVariant>) { in isParenthesizedVariable()
3318 static constexpr bool inRefSet = Fortran::common::HasMember<A, RefSet>;
5216 template <typename A, typename = std::enable_if_t<Fortran::common::HasMember<
H A DIO.cpp917 static_assert(Fortran::common::HasMember<A, PreprocessedSpecs>, in genIOOption()
/llvm-project-15.0.7/flang/include/flang/Common/
H A Dtemplate.h97 constexpr bool HasMember{
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DVectorUtils.cpp898 unsigned HasMember = Group.getMember(j) ? 1 : 0; in createBitMaskForGaps() local
899 Mask.push_back(Builder.getInt1(HasMember)); in createBitMaskForGaps()