| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | SpecialMemberFunctionsCheck.cpp | 143 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 D | microsoft-uuidof-mangling.cpp | 32 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 D | default-arg-closures.cpp | 25 struct HasMember { struct 28 void UseDependentArg() { throw DependentDefaultCopyArg<HasMember>(); } in UseDependentArg() argument
|
| H A D | overloaded-operator.cpp | 220 struct HasMember { struct 225 HasMember* operator->(); argument
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | PFTBuilder.h | 146 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 D | cxx-templates.cpp | 175 struct HasMember { struct 180 getWithIdentifier<HasMember>(); in test()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | tools.h | 50 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 D | type.h | 354 constexpr bool IsSpecificIntrinsicType{common::HasMember<T, AllIntrinsicTypes>}; 361 common::HasMember<T, LengthlessIntrinsicTypes>};
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | expression.cpp | 89 if constexpr (!common::HasMember<decltype(x), TypelessExpression>) { in GetType() 101 if constexpr (common::HasMember<decltype(x), TypelessExpression>) { in Rank()
|
| H A D | fold-implementation.h | 1337 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 D | tools.cpp | 46 if constexpr (common::HasMember<T, TypelessExpression>) { in Parenthesize() 608 if constexpr (!common::HasMember<cxType, TypelessExpression>) { in ConvertToNumeric()
|
| H A D | fold-integer.cpp | 721 if constexpr (common::HasMember<T, IntegerTypes>) { in FoldIntrinsicFunction()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | resolve-labels.cpp | 186 } 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 D | semantics.cpp | 80 if constexpr (common::HasMember<const N *, ConstructNode>) { in Pre() 88 if constexpr (common::HasMember<const N *, ConstructNode>) { in Post()
|
| H A D | check-omp-structure.cpp | 1511 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 D | expression.cpp | 3028 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 D | tools.cpp | 907 return common::HasMember<T, ImageControlStmts>; in operator ()()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | PFTBuilder.cpp | 591 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 D | ConvertType.cpp | 207 static_assert(!Fortran::common::HasMember< in genTypelessExprType()
|
| H A D | VectorSubscripts.cpp | 56 if constexpr (Fortran::common::HasMember<Designator, ExprVariant>) { in genDesignator()
|
| H A D | ConvertExpr.cpp | 363 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 D | IO.cpp | 917 static_assert(Fortran::common::HasMember<A, PreprocessedSpecs>, in genIOOption()
|
| /llvm-project-15.0.7/flang/include/flang/Common/ |
| H A D | template.h | 97 constexpr bool HasMember{
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 898 unsigned HasMember = Group.getMember(j) ? 1 : 0; in createBitMaskForGaps() local 899 Mask.push_back(Builder.getInt1(HasMember)); in createBitMaskForGaps()
|