Home
last modified time | relevance | path

Searched refs:Underlying (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dfallible_iterator.h68 template <typename Underlying> class fallible_iterator {
84 static fallible_iterator itr(Underlying I, Error &Err) { in itr()
94 static fallible_iterator end(Underlying I) { in end()
106 template <typename T = Underlying>
113 template <typename T = Underlying>
195 fallible_iterator(Underlying I, Error *Err) in fallible_iterator()
214 Underlying I;
220 template <typename Underlying>
221 fallible_iterator<Underlying> make_fallible_itr(Underlying I, Error &Err) { in make_fallible_itr()
222 return fallible_iterator<Underlying>::itr(std::move(I), Err); in make_fallible_itr()
[all …]
H A DBitmaskEnum.h129 template <typename E> constexpr std::underlying_type_t<E> Underlying(E Val) {
147 return static_cast<E>(~Underlying(Val) & Mask<E>());
152 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
157 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
162 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
H A DEnumeratedArray.h43 Underlying[IX] = V; in EnumeratedArray()
49 Underlying[IX] = *(Init.begin() + IX); in EnumeratedArray()
56 return Underlying[IX];
66 iterator begin() { return Underlying; } in begin()
67 const_iterator begin() const { return Underlying; } in begin()
82 ValueType Underlying[Size];
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp311 TemplateName Underlying = QTN->getUnderlyingTemplate(); in print() local
312 assert(Underlying.getKind() == TemplateName::Template || in print()
313 Underlying.getKind() == TemplateName::UsingTemplate); in print()
315 TemplateDecl *UTD = Underlying.getAsTemplateDecl(); in print()
H A DASTContext.cpp5059 QualType Underlying) const { in getTypedefType()
5061 if (Underlying.isNull()) in getTypedefType()
5062 Underlying = Decl->getUnderlyingType(); in getTypedefType()
5064 Type::Typedef, Decl, QualType(), getCanonicalType(Underlying)); in getTypedefType()
5069 if (Underlying.isNull() || Decl->getUnderlyingType() == Underlying) in getTypedefType()
5071 assert(hasSameType(Decl->getUnderlyingType(), Underlying)); in getTypedefType()
5074 TypedefType::Profile(ID, Decl, Underlying); in getTypedefType()
5085 auto *NewType = new (Mem) TypedefType(Type::Typedef, Decl, Underlying, in getTypedefType()
5086 getCanonicalType(Underlying)); in getTypedefType()
5093 QualType Underlying) const { in getUsingType()
[all …]
H A DASTDiagnostic.cpp175 QualType Underlying; in desugarForDiagnostic() local
184 Underlying = CTy->desugar(); \ in desugarForDiagnostic()
197 if (isa<VectorType>(Underlying)) in desugarForDiagnostic()
201 if (const TagType *UTT = Underlying->getAs<TagType>()) in desugarForDiagnostic()
208 QT = Underlying; in desugarForDiagnostic()
H A DType.cpp3859 QualType Underlying, QualType can) in TypedefType() argument
3863 TypedefBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in TypedefType()
3865 *getTrailingObjects<QualType>() = Underlying; in TypedefType()
3873 UsingType::UsingType(const UsingShadowDecl *Found, QualType Underlying, in UsingType() argument
3877 UsingBits.hasTypeDifferentFromDecl = !Underlying.isNull(); in UsingType()
3879 *getTrailingObjects<QualType>() = Underlying; in UsingType()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeEnum.cpp187 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() local
190 if (!Underlying.isSimple() || in getBuiltinType()
191 Underlying.getSimpleMode() != SimpleTypeMode::Direct) { in getBuiltinType()
195 switch (Underlying.getSimpleKind()) { in getBuiltinType()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp1020 InstrProfReaderIndexBase &Underlying; member in __anon630d17040211::InstrProfReaderNullRemapper
1023 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
1024 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
1028 return Underlying.getRecords(FuncName, Data); in getRecords()
1040 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
1041 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
1074 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
1099 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
1115 return Underlying.getRecords(FuncName, Data); in getRecords()
1133 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
/freebsd/contrib/googletest/googletest/include/gtest/internal/custom/
H A DREADME.md33 ### Underlying library support features
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local
64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVOptions.h128 Underlying, // --attribute=underlying enumerator
358 ATTRIBUTE_OPTION(Underlying);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp9540 QualType Underlying = ED->getIntegerType(); in GetEnumUnderlyingType() local
9541 assert(!Underlying.isNull()); in GetEnumUnderlyingType()
9543 return Underlying; in GetEnumUnderlyingType()
9583 QualType Underlying = BaseType.getNonReferenceType(); in BuiltinDecay() local
9584 if (Underlying->isArrayType()) in BuiltinDecay()
9585 return Context.getDecayedType(Underlying); in BuiltinDecay()
9587 if (Underlying->isFunctionType()) in BuiltinDecay()
9590 SplitQualType Split = Underlying.getSplitUnqualifiedType(); in BuiltinDecay()
9659 QualType Underlying = GetEnumUnderlyingType(S, BaseType, Loc); in ChangeIntegralSignedness() local
9660 if (auto *BitInt = dyn_cast<BitIntType>(Underlying)) { in ChangeIntegralSignedness()
[all …]
H A DSemaLookup.cpp3819 auto *Underlying = D; in ArgumentDependentLookup() local
3821 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
3823 if (!isa<FunctionDecl>(Underlying) && in ArgumentDependentLookup()
3824 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup()
3890 Result.insert(Underlying); in ArgumentDependentLookup()
H A DSemaLambda.cpp1294 VarDecl *Underlying = Var->getPotentiallyDecomposedVarDecl(); in ActOnLambdaExpressionAfterIntroducer() local
1296 if (!Underlying->hasLocalStorage()) { in ActOnLambdaExpressionAfterIntroducer()
H A DSemaStmt.cpp4247 QualType Underlying = HandlerCHT.underlying(); in ActOnCXXTryBlock() local
4248 if (auto *RD = Underlying->getAsCXXRecordDecl()) { in ActOnCXXTryBlock()
4275 HandledBaseTypes[Underlying.getUnqualifiedType()] = H; in ActOnCXXTryBlock()
H A DTreeTransform.h1017 QualType RebuildUsingType(UsingShadowDecl *Found, QualType Underlying) { in RebuildUsingType() argument
1018 return SemaRef.Context.getUsingType(Found, Underlying); in RebuildUsingType()
1046 QualType RebuildTypeOfExprType(Expr *Underlying, SourceLocation Loc,
1052 QualType RebuildTypeOfType(QualType Underlying, TypeOfKind Kind);
1063 QualType RebuildDecltypeType(Expr *Underlying, SourceLocation Loc);
6500 QualType Underlying = getDerived().TransformType(T->desugar()); in TransformUsingType() local
6501 if (Underlying.isNull()) in TransformUsingType()
6506 Underlying != T->getUnderlyingType()) { in TransformUsingType()
6507 Result = getDerived().RebuildUsingType(Found, Underlying); in TransformUsingType()
16233 QualType TreeTransform<Derived>::RebuildTypeOfType(QualType Underlying, in RebuildTypeOfType() argument
[all …]
H A DSemaTemplateInstantiate.cpp166 QualType Underlying = in isLambdaEnclosedByTypeAliasDecl() local
170 .TraverseType(Underlying); in isLambdaEnclosedByTypeAliasDecl()
H A DSemaOpenMP.cpp17895 auto *Underlying = D; in argumentDependentLookup() local
17897 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
17899 if (!isa<OMPDeclareReductionDecl>(Underlying) && in argumentDependentLookup()
17900 !isa<OMPDeclareMapperDecl>(Underlying)) in argumentDependentLookup()
17908 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
17911 Lookups.back().addDecl(Underlying); in argumentDependentLookup()
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp125 clEnumValN(LVAttributeKind::Underlying, "underlying",
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5575 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
5593 QualType Underlying) {
5595 Underlying.Profile(ID);
5625 QualType Underlying) {
5627 if (!Underlying.isNull())
5628 Underlying.Profile(ID);
H A DDeclCXX.h3331 NamedDecl *Underlying = nullptr; variable
3391 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl()
3397 Underlying = ND; in setTargetDecl()
H A DASTContext.h1649 QualType Underlying) const;
1654 QualType Underlying = QualType()) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3693 Value *Underlying = TrampMem->stripPointerCasts(); in findInitTrampolineFromAlloca() local
3694 if (Underlying != TrampMem && in findInitTrampolineFromAlloca()
3695 (!Underlying->hasOneUse() || Underlying->user_back() != TrampMem)) in findInitTrampolineFromAlloca()
3697 if (!isa<AllocaInst>(Underlying)) in findInitTrampolineFromAlloca()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1483 llvm::DIType *Underlying = in CreateType() local
1487 return Underlying; in CreateType()
1502 return DBuilder.createTypedef(Underlying, Ty->getDecl()->getName(), in CreateType()
5968 if (const auto *Underlying = in EmitNamespaceAlias() local
5973 EmitNamespaceAlias(*Underlying), getOrCreateFile(Loc), in EmitNamespaceAlias()

12