Home
last modified time | relevance | path

Searched refs:DeclType (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp379 InitListExpr *IList, QualType &DeclType,
392 InitListExpr *IList, QualType DeclType,
397 InitListExpr *IList, QualType DeclType,
402 InitListExpr *IList, QualType DeclType,
407 InitListExpr *IList, QualType DeclType, unsigned &Index,
411 InitListExpr *IList, QualType DeclType,
419 InitListExpr *IList, QualType &DeclType,
447 int numArrayElements(QualType DeclType);
448 int numStructUnionElements(QualType DeclType);
449 static RecordDecl *getRecordDecl(QualType DeclType);
[all …]
H A DSemaType.cpp3477 DeclaratorChunk &DeclType, QualType RT) { in warnAboutAmbiguousFunction() argument
3478 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in warnAboutAmbiguousFunction()
3506 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction()
3508 S.Diag(DeclType.Loc, in warnAboutAmbiguousFunction()
3557 S.Diag(DeclType.Loc, diag::note_empty_parens_default_ctor) in warnAboutAmbiguousFunction()
3565 S.Diag(DeclType.Loc, diag::note_empty_parens_zero_initialize) in warnAboutAmbiguousFunction()
4644 DeclaratorChunk &DeclType = D.getTypeObject(chunkIndex); in GetFullTypeForDeclarator() local
4645 IsQualifiedFunction &= DeclType.Kind == DeclaratorChunk::Paren; in GetFullTypeForDeclarator()
4646 switch (DeclType.Kind) { in GetFullTypeForDeclarator()
4655 S.Diag(DeclType.Loc, diag::err_blocks_disable) << LangOpts.OpenCL; in GetFullTypeForDeclarator()
[all …]
H A DSemaOverload.cpp5144 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
5170 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
5183 DeclType.getNonReferenceType().getUnqualifiedType()) == in FindConversionForRefInit()
5201 ConvTemplate, I.getPair(), ActingDC, Init, DeclType, CandidateSet, in FindConversionForRefInit()
5205 Conv, I.getPair(), ActingDC, Init, DeclType, CandidateSet, in FindConversionForRefInit()
5263 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, in TryReferenceInit() argument
5267 assert(DeclType->isReferenceType() && "Reference init needs a reference"); in TryReferenceInit()
5271 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType); in TryReferenceInit()
5273 QualType T1 = DeclType->castAs<ReferenceType>()->getPointeeType(); in TryReferenceInit()
5281 if (FunctionDecl *Fn = S.ResolveAddressOfOverloadedFunction(Init, DeclType, in TryReferenceInit()
[all …]
H A DSemaDeclCXX.cpp7785 QualType DeclType = Context.getTypeDeclType(RD); in CheckExplicitlyDefaultedSpecialMember() local
7786 DeclType = Context.getElaboratedType(ElaboratedTypeKeyword::None, nullptr, in CheckExplicitlyDefaultedSpecialMember()
7787 DeclType, nullptr); in CheckExplicitlyDefaultedSpecialMember()
7788 DeclType = Context.getAddrSpaceQualType( in CheckExplicitlyDefaultedSpecialMember()
7789 DeclType, ThisType.getQualifiers().getAddressSpace()); in CheckExplicitlyDefaultedSpecialMember()
7790 QualType ExpectedReturnType = Context.getLValueReferenceType(DeclType); in CheckExplicitlyDefaultedSpecialMember()
H A DSemaExpr.cpp6296 QualType DeclType = FDecl->getType(); in rewriteBuiltinFunctionDecl() local
6297 const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(DeclType); in rewriteBuiltinFunctionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h733 using DeclType = EntryType; member
735 static DeclType *getDecl(EntryType *D) { in getDecl()
745 typename DeclType = typename SETraits::DeclType>
748 SpecIterator<EntryType, SETraits, DeclType>,
752 DeclType *, ptrdiff_t, DeclType *, DeclType *> {
758 DeclType *operator*() const {
762 DeclType *operator->() const { return **this; }
777 typename SpecEntryTraits<EntryType>::DeclType *
782 typename SpecEntryTraits<EntryType>::DeclType *
938 using DeclType = FunctionDecl;
[all …]
H A DDeclObjC.h742 QualType DeclType; variable
778 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
801 QualType getType() const { return DeclType; } in getType()
804 DeclType = T; in setType()
H A DDecl.h692 QualType DeclType; variable
699 : NamedDecl(DK, DC, L, N), DeclType(T) {} in ValueDecl()
702 QualType getType() const { return DeclType; } in getType()
703 void setType(QualType newType) { DeclType = newType; } in setType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp272 template <typename DeclType, typename PointeeType, typename ParentDeclType>
273 void reportBug(const DeclType *Member, const Type *MemberType, in reportBug()
/freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/
H A Dlldb-rpc-gen.cpp125 const Type *DeclType = Decl->getTypeForDecl(); in ShouldSkipRecord() local
126 QualType CanonicalType = DeclType->getCanonicalTypeInternal(); in ShouldSkipRecord()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp380 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
393 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
H A DDeclObjC.cpp2368 return DeclType.substObjCMemberType(objectType, getDeclContext(), in getUsageType()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp292 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc10124 …mplateDecl::SpecEntryTraits<clang::FunctionTemplateSpecializationInfo>::DeclType* clang::Redeclara…
10125 …eTemplateDecl::SpecEntryTraits<clang::ClassTemplateSpecializationDecl>::DeclType* clang::Redeclara…
10126 …teDecl::SpecEntryTraits<clang::ClassTemplatePartialSpecializationDecl>::DeclType* clang::Redeclara…