Home
last modified time | relevance | path

Searched refs:DeclTy (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterGenericRedeclTest.cpp21 using DeclTy = FunctionDecl; typedef
30 using DeclTy = CXXRecordDecl; typedef
39 using DeclTy = EnumDecl; typedef
48 using DeclTy = VarDecl; typedef
55 using DeclTy = FunctionTemplateDecl; typedef
69 using DeclTy = ClassTemplateDecl; typedef
78 using DeclTy = VarTemplateDecl; typedef
93 using DeclTy = FunctionDecl; typedef
137 using DeclTy = typename TypeParam::DeclTy; typedef
406 DeclTy *ProtoD = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypeThenProtoAndDefinition()
[all …]
H A DASTImporterODRStrategiesTest.cpp32 using DeclTy = FunctionDecl; typedef
44 using DeclTy = TypedefNameDecl; typedef
52 using DeclTy = TypedefNameDecl; typedef
60 using DeclTy = EnumDecl; typedef
68 using DeclTy = EnumDecl; typedef
76 using DeclTy = EnumConstantDecl; typedef
84 using DeclTy = CXXRecordDecl; typedef
95 using DeclTy = VarDecl; typedef
143 using DeclTy = VarTemplateDecl; typedef
185 using DeclTy = FunctionDecl; typedef
[all …]
H A DASTImporterVisibilityTest.cpp27 using DeclTy = FunctionDecl; typedef
31 using DeclTy = VarDecl; typedef
35 using DeclTy = CXXRecordDecl; typedef
39 using DeclTy = EnumDecl; typedef
43 using DeclTy = TypedefNameDecl; typedef
47 using DeclTy = FunctionTemplateDecl; typedef
53 using DeclTy = VarTemplateDecl; typedef
59 using DeclTy = ClassTemplateDecl; typedef
111 using DeclTy = typename PatternFactory::DeclTy; typedef in clang::ast_matchers::ImportVisibilityChain
126 auto *FromD1 = LastDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain()
[all …]
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DDescriptor.h26 using DeclTy = llvm::PointerUnion<const Decl *, const Expr *>; variable
54 const DeclTy Source;
88 Descriptor(const DeclTy &D, PrimType Type, bool IsConst, bool IsTemporary,
92 Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, bool IsConst,
96 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize);
99 Descriptor(const DeclTy &D, Descriptor *Elem, unsigned NumElems, bool IsConst,
103 Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, UnknownSize);
106 Descriptor(const DeclTy &D, Record *R, bool IsConst, bool IsTemporary,
H A DDescriptor.cpp188 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsConst, in Descriptor()
197 Descriptor::Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, in Descriptor()
207 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor()
216 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, unsigned NumElems, in Descriptor()
227 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, in Descriptor()
236 Descriptor::Descriptor(const DeclTy &D, Record *R, bool IsConst, in Descriptor()
H A DProgram.h104 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
112 Descriptor *createDescriptor(const DeclTy &D, const Type *Ty,
136 llvm::Optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DByteCodeExprGen.h151 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable,
155 llvm::Optional<unsigned> allocateLocal(DeclTy &&Decl,
H A DProgram.cpp177 llvm::Optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal()
311 Descriptor *Program::createDescriptor(const DeclTy &D, const Type *Ty, in createDescriptor()
H A DByteCodeExprGen.cpp423 unsigned ByteCodeExprGen<Emitter>::allocateLocalPrimitive(DeclTy &&Src, in allocateLocalPrimitive()
437 ByteCodeExprGen<Emitter>::allocateLocal(DeclTy &&Src, bool IsExtended) { in allocateLocal()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp3120 return ConstantAddress(Ptr, DeclTy, Alignment); in GetWeakRefReference()
3124 if (isa<llvm::FunctionType>(DeclTy)) in GetWeakRefReference()
3125 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
3136 return ConstantAddress(Aliasee, DeclTy, Alignment); in GetWeakRefReference()
3670 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in emitCPUDispatchDefinition() local
3679 llvm::PointerType::get(DeclTy, in emitCPUDispatchDefinition()
3684 ResolverType = DeclTy; in emitCPUDispatchDefinition()
3716 MangledName, DeclTy, ExistingDecl, in emitCPUDispatchDefinition()
3807 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in GetOrCreateMultiVersionResolver() local
3834 ResolverName, DeclTy, GlobalDecl{}, /*ForVTable=*/false); in GetOrCreateMultiVersionResolver()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DExternalASTMerger.cpp452 template <typename DeclTy>
453 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations()
H A DExprConstant.cpp15160 QualType DeclTy = VD->getType(); in EvaluateAsInitializer() local
15182 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTReader.h1112 template <typename DeclTy>
1113 using DuplicateObjCDecls = std::pair<DeclTy *, DeclTy *>;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp5357 QualType DeclTy; in ActOnOMPIteratorExpr() local
5362 DeclTy = Context.IntTy; in ActOnOMPIteratorExpr()
5365 DeclTy = GetTypeFromParser(D.Type, &TInfo); in ActOnOMPIteratorExpr()
5369 bool IsDeclTyDependent = DeclTy->isDependentType() || in ActOnOMPIteratorExpr()
5371 DeclTy->isInstantiationDependentType(); in ActOnOMPIteratorExpr()
5373 if (!DeclTy->isIntegralType(Context) && !DeclTy->isAnyPointerType()) { in ActOnOMPIteratorExpr()
5377 << DeclTy; in ActOnOMPIteratorExpr()
5381 if (DeclTy.isConstant(Context)) { in ActOnOMPIteratorExpr()
5385 << DeclTy; in ActOnOMPIteratorExpr()
5396 D.DeclIdent, DeclTy, TInfo, SC_None); in ActOnOMPIteratorExpr()
[all …]
H A DSemaDeclAttr.cpp7959 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() local
7966 if (ReadWriteImagesUnsupported || DeclTy->isPipeType()) { in handleOpenCLAccessAttr()
7968 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
H A DTreeTransform.h11004 QualType DeclTy = getDerived().TransformType(D->getType()); in TransformOMPIteratorExpr() local
11005 Data[I].Type = SemaRef.CreateParsedType(DeclTy, TSI); in TransformOMPIteratorExpr()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp209 template<typename DeclTy>
210 void AddTemplateSpecializations(DeclTy *D) { in AddTemplateSpecializations()